Skip to content

Commit 8d697eb

Browse files
authored
Update comments of to_vote_instruction failure. (#3670)
Update comment, to_vote_instruction could have more than switch threshold failures.
1 parent 2658bf3 commit 8d697eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/replay_stage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2611,7 +2611,7 @@ impl ReplayStage {
26112611
vote_account_pubkey,
26122612
&authorized_voter_keypair.pubkey(),
26132613
)
2614-
.expect("Switch threshold failure should not lead to voting");
2614+
.expect("Switch failure should not lead to voting");
26152615

26162616
let mut vote_tx = Transaction::new_with_payer(&[vote_ix], Some(&node_keypair.pubkey()));
26172617

0 commit comments

Comments
 (0)