Skip to content

Commit 0ac9e25

Browse files
committed
bank: fix cost tracker assertion
1 parent 7767fd2 commit 0ac9e25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/discof/bank/fd_bank_tile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ handle_microblock( fd_bank_ctx_t * ctx,
252252

253253
} FD_SPAD_FRAME_END;
254254

255-
if( FD_UNLIKELY( !txn->flags ) ) {
255+
if( FD_UNLIKELY( !txn_ctx->flags ) ) {
256256
fd_cost_tracker_t * cost_tracker = fd_bank_cost_tracker_locking_modify( bank );
257257
fd_hash_t * signature = (fd_hash_t *)((uchar *)txn_ctx->txn.payload + TXN( &txn_ctx->txn )->signature_off);
258258
int res = fd_cost_tracker_calculate_cost_and_add( cost_tracker, txn_ctx );
@@ -266,7 +266,7 @@ handle_microblock( fd_bank_ctx_t * ctx,
266266
cost_tracker->account_cost_limit ));
267267
}
268268

269-
FD_TEST( txn->flags );
269+
FD_TEST( txn_ctx->flags );
270270
}
271271

272272
/* Indicate to pack tile we are done processing the transactions so

0 commit comments

Comments
 (0)