Skip to content

Commit

Permalink
Fix bank hash setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mjain-jump committed Jan 8, 2025
1 parent 7eddeee commit c29f7b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/flamenco/runtime/tests/fd_exec_instr_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -987,8 +987,7 @@ _block_context_create_and_exec( fd_exec_instr_test_runner_t * runner,
slot_ctx->enable_exec_recording = 0;
slot_ctx->epoch_ctx = epoch_ctx;
slot_ctx->prev_lamports_per_signature = test_ctx->slot_ctx.prev_lps;
// slot_ctx->parent_transaction_count = ... // do we need this?
fd_memcpy( &slot_ctx->slot_bank.prev_banks_hash, test_ctx->slot_ctx.parent_bank_hash, sizeof( fd_hash_t ) );
fd_memcpy( &slot_ctx->slot_bank.banks_hash, test_ctx->slot_ctx.parent_bank_hash, sizeof( fd_hash_t ) );

/* Set up slot bank */
ulong slot = test_ctx->slot_ctx.slot;
Expand Down

0 comments on commit c29f7b1

Please sign in to comment.