Skip to content

Commit

Permalink
Method rename
Browse files Browse the repository at this point in the history
  • Loading branch information
moshababo committed Dec 6, 2023
1 parent d816030 commit 9ac1ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/actors/bft/src/testonly/ut_harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl UTHarness {
&self.consensus.inner.secret_key
}

pub(crate) fn owner_as_view_leader_next(&self) -> ViewNumber {
pub(crate) fn owner_as_view_leader_current_or_next(&self) -> ViewNumber {
let mut view = self.replica_view();
while self.view_leader(view) != self.owner_key().public() {
view = view.next();
Expand Down

0 comments on commit 9ac1ffd

Please sign in to comment.