mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: make InvalidBlockHook generic over NodePrimitives (#13105)
This commit is contained in:
@ -258,7 +258,7 @@ where
|
||||
_receipts: &[Receipt],
|
||||
) -> Result<Requests, Self::Error> {
|
||||
let balance_increments =
|
||||
post_block_balance_increments(&self.chain_spec.clone(), block, total_difficulty);
|
||||
post_block_balance_increments(&self.chain_spec.clone(), &block.block, total_difficulty);
|
||||
// increment balances
|
||||
self.state
|
||||
.increment_balances(balance_increments.clone())
|
||||
|
||||
Reference in New Issue
Block a user