forked from cerc-io/plugeth
debug
This commit is contained in:
parent
a74854121b
commit
b6d72df43a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user