Skip to content

Commit 028143f

Browse files
committed
check and return err code
1 parent e162af5 commit 028143f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/flamenco/runtime/program/fd_vote_program.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,7 @@ process_tower_sync( fd_exec_instr_ctx_t * ctx,
14461446
clock->slot,
14471447
tower_sync
14481448
);
1449+
if( FD_UNLIKELY( rc ) ) return rc;
14491450

14501451
/* https://github.com/anza-xyz/agave/blob/v3.1.1/programs/vote/src/vote_state/mod.rs#L1032 */
14511452
return fd_vsv_set_vote_account_state(

0 commit comments

Comments
 (0)