We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ca3c74 commit e162af5Copy full SHA for e162af5
src/flamenco/runtime/program/fd_vote_program.c
@@ -958,7 +958,7 @@ update_commission( fd_exec_instr_ctx_t * ctx,
958
/* https://github.com/anza-xyz/agave/blob/v3.1.1/programs/vote/src/vote_state/mod.rs#L800-L804 */
959
fd_vote_state_versioned_t * vote_state_versioned = NULL;
960
int enforce_commission_update_rule = 1;
961
- if( FD_LIKELY( rc==FD_EXECUTOR_INSTR_SUCCESS ) ) {
+ if( FD_LIKELY( get_vsv_rc==FD_EXECUTOR_INSTR_SUCCESS ) ) {
962
vote_state_versioned = (fd_vote_state_versioned_t *)ctx->runtime->vote_program.update_commission.vote_state_mem;
963
enforce_commission_update_rule = (commission>fd_vsv_get_commission( vote_state_versioned ));
964
}
0 commit comments