Skip to content

Commit d9d2d0c

Browse files
starknet_os: fix tab count bug (#10439)
1 parent 73eb996 commit d9d2d0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/starknet_os/src/hint_processor/os_logger.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,8 @@ impl OsLogger {
480480
)?);
481481
self.current_tx = Some(OsTransactionTrace::new(tx_type, tx_hash));
482482
log::info!("Entering transaction: {tx_hash} (type: {tx_type:?})");
483+
// Increment tab_count to match the decrement in exit_tx's log call.
484+
self.tab_count += 1;
483485
Ok(())
484486
}
485487

0 commit comments

Comments
 (0)