Skip to content

Commit d895928

Browse files
authored
capture: set txn capture ctx after setup (#7041)
1 parent 67e432f commit d895928

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/flamenco/runtime/fd_runtime.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,13 +1024,12 @@ fd_runtime_prepare_and_execute_txn( fd_banks_t * banks,
10241024
txn_ctx->features = fd_bank_features_get( bank );
10251025
txn_ctx->enable_exec_recording = !!( bank->flags & FD_BANK_FLAGS_EXEC_RECORDING );
10261026
txn_ctx->xid[0] = (fd_funk_txn_xid_t){ .ul = { slot, bank_idx } };
1027-
txn_ctx->capture_ctx = capture_ctx;
10281027
txn_ctx->txn = *txn;
10291028
txn_ctx->exec_stack = exec_stack;
10301029
txn_ctx->dumping_mem = dumping_mem;
1031-
1032-
txn_ctx->flags = FD_TXN_P_FLAGS_SANITIZE_SUCCESS;
1030+
txn_ctx->flags = FD_TXN_P_FLAGS_SANITIZE_SUCCESS;
10331031
fd_exec_txn_ctx_setup_basic( txn_ctx );
1032+
txn_ctx->capture_ctx = capture_ctx;
10341033

10351034
/* Set up the core account keys. These are the account keys directly
10361035
passed in via the serialized transaction, represented as an array.

0 commit comments

Comments
 (0)