mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: convert hash field to OnceLock<TxHash> on TransactionSigned (#12596)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
This commit is contained in:
@ -383,7 +383,7 @@ mod tests {
|
||||
for block in &blocks[..=max_processed_block] {
|
||||
for transaction in &block.body.transactions {
|
||||
if block.number > max_pruned_block {
|
||||
tx_hash_numbers.push((transaction.hash, tx_hash_number));
|
||||
tx_hash_numbers.push((transaction.hash(), tx_hash_number));
|
||||
}
|
||||
tx_hash_number += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user