Skip to content

Commit 4475d8f

Browse files
committed
rebase fix
Signed-off-by: Ignacio Hagopian <[email protected]>
1 parent fbcc103 commit 4475d8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

consensus/beacon/consensus.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ import (
3030
"github.com/ethereum/go-ethereum/params"
3131
"github.com/ethereum/go-ethereum/rpc"
3232
"github.com/ethereum/go-ethereum/trie"
33+
"github.com/ethereum/go-ethereum/trie/utils"
34+
"github.com/holiman/uint256"
3335
)
3436

3537
// Proof-of-stake protocol constants.
@@ -354,7 +356,7 @@ func (beacon *Beacon) Finalize(chain consensus.ChainHeaderReader, header *types.
354356
state.AddBalance(w.Address, amount)
355357

356358
// The returned gas is not charged
357-
state.Witness().TouchAddressOnWriteAndComputeGas(w.Address[:])
359+
state.Witness().TouchAddressOnWriteAndComputeGas(w.Address[:], uint256.Int{}, utils.BalanceLeafKey)
358360
}
359361
// No block reward which is issued by consensus layer instead.
360362
}

0 commit comments

Comments
 (0)