Skip to content

Commit

Permalink
save end_timestamp as milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmel committed Oct 8, 2024
1 parent 091cf3c commit b0cb52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spammer/tx_actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ where
RunTx {
tx_hash: pending_tx.tx_hash,
start_timestamp: pending_tx.start_timestamp,
end_timestamp: target_block.header.timestamp as usize,
end_timestamp: (target_block.header.timestamp * 1000) as usize, // convert to ms
block_number: target_block.header.number,
gas_used: receipt.gas_used,
kind: pending_tx.kind,
Expand Down

0 comments on commit b0cb52b

Please sign in to comment.