mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
miner: remove artifacts
This commit is contained in:
parent
c6dbccfee3
commit
3abe397540
1 changed files with 5 additions and 7 deletions
|
|
@ -40,7 +40,6 @@ type BuildPayloadArgs struct {
|
|||
FeeRecipient common.Address // The provided recipient address for collecting transaction fee
|
||||
Random common.Hash // The provided randomness value
|
||||
Withdrawals types.Withdrawals // The provided withdrawals
|
||||
Transactions []*types.Transaction // Mandatory transactions to be included
|
||||
}
|
||||
|
||||
// Id computes an 8-byte identifier by hashing the components of the payload arguments.
|
||||
|
|
@ -52,7 +51,6 @@ func (args *BuildPayloadArgs) Id() engine.PayloadID {
|
|||
hasher.Write(args.Random[:])
|
||||
hasher.Write(args.FeeRecipient[:])
|
||||
rlp.Encode(hasher, args.Withdrawals)
|
||||
rlp.Encode(hasher, args.Transactions)
|
||||
var out engine.PayloadID
|
||||
copy(out[:], hasher.Sum(nil)[:8])
|
||||
return out
|
||||
|
|
|
|||
Loading…
Reference in a new issue