Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/tracers/blocknative/decoder/balances.go
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ func newBalances() *balances {
// captureCall decodes potential balance change data out of calldata.
func (bt *balances) captureCall(sender common.Address, receiver common.Address, value *Amount, decoded *CallFrame) {
// Add the native transfer.
if value.ToInt().Sign() > 0 {
if value != nil && value.ToInt().Sign() > 0 {
bt.balanceChanges.addAssetTransfer(EthAsset, sender, receiver, value)
}

0 comments on commit fa0e506

Please sign in to comment.