mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(db): Don't store TxHash when writing to the table (#2279)
This commit is contained in:
@ -176,7 +176,7 @@ where
|
||||
let Block { mut header, body, .. } = block;
|
||||
|
||||
// clear all transactions from pool
|
||||
pool.remove_transactions(body.iter().map(|tx| tx.hash));
|
||||
pool.remove_transactions(body.iter().map(|tx| tx.hash()));
|
||||
|
||||
header.receipts_root = if post_state.receipts().is_empty() {
|
||||
EMPTY_RECEIPTS
|
||||
|
||||
Reference in New Issue
Block a user