Author SHA1 Message Date
roysc b6d72df43a debug 2024-05-06 13:27:34 +08:00
roysc a74854121b Use plugeth-utils tag 2024-04-23 18:51:37 +08:00
roysc 5c11ceee96 [wip] Update plugeth-utils for c-kzg-4844 patch 2024-04-03 14:02:51 +08:00
+6
View File
@@ -1279,6 +1279,12 @@ 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
}