From b22e60dd545f109015b1526980ebfbb0c7142c95 Mon Sep 17 00:00:00 2001 From: Kunal Bhargava Date: Thu, 16 May 2024 20:46:32 +0000 Subject: [PATCH] runtime: fix discriminant in delegate --- src/flamenco/runtime/program/fd_stake_program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flamenco/runtime/program/fd_stake_program.c b/src/flamenco/runtime/program/fd_stake_program.c index ed0c2768d9..92380e1b67 100644 --- a/src/flamenco/runtime/program/fd_stake_program.c +++ b/src/flamenco/runtime/program/fd_stake_program.c @@ -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,