Skip to content

Commit

Permalink
runtime: fix discriminant in delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
kbhargava-jump committed May 16, 2024
1 parent 718e74f commit b22e60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flamenco/runtime/program/fd_stake_program.c
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ delegate( fd_exec_instr_ctx_t const * ctx,
fd_vote_convert_to_current( &vote_state, scratch_valloc ); // FIXME
fd_stake_t stake =
new_stake( stake_amount, vote_pubkey, &vote_state.inner.current, clock->epoch );
fd_stake_state_v2_t new_stake_state = { .discriminant = fd_stake_state_v2_enum_stake,
fd_stake_state_v2_t new_stake_state = { .discriminant = fd_stake_state_v2_enum_initialized,
.inner = { .stake = {
.meta = meta,
.stake = stake,
Expand Down

0 comments on commit b22e60d

Please sign in to comment.