Skip to content

Commit 4f90210

Browse files
committed
Show the transaction hash when it is mined
1 parent 4abe75e commit 4f90210

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/miner/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ pub fn mine_one<P: Patch>(state: Arc<Mutex<MinerState>>, address: Address) {
206206
_ => false,
207207
}
208208
);
209+
210+
println!("0x{:x}", transaction_hash);
209211
}
210212

211213
let root = state.stateful_mut().root();

0 commit comments

Comments
 (0)