Author SHA1 Message Date
roysc 7f6f6c63be Update plugeth-utils for c-kzg-4844 fix (#8)
Prevents a dependency conflict: `github.com/ethereum/c-kzg-4844/bindings/go` was moved to become part of `github.com/ethereum/c-kzg-4844` by `v0.4.0`

Reviewed-on: cerc-io/plugeth#8
Reviewed-by: Thomas E Lackey <telackey@noreply.git.vdb.to>
2024-05-23 12:42:44 +00:00
-6
View File
@@ -1279,12 +1279,6 @@ func RPCMarshalBlock(block *types.Block, inclTx bool, fullTx bool, config *param
fields["uncles"] = uncleHashes
if block.Header().WithdrawalsHash != nil {
fields["withdrawals"] = block.Withdrawals()
log.Warn("block.Withdrawals: ", block.Withdrawals())
if block.Withdrawals() == nil {
log.Warn("block.Withdrawals is nil")
}
} else {
log.Warn("block.WithdrawalsHash not set")
}
return fields
}