mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
Update payload_building.go
This commit is contained in:
parent
d5567c9a99
commit
3fdd0bdab5
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ func (miner *Miner) buildPayload(args *BuildPayloadArgs, witness bool) (*Payload
|
||||||
payload := newPayload(empty.block, empty.requests, empty.witness, args.Id())
|
payload := newPayload(empty.block, empty.requests, empty.witness, args.Id())
|
||||||
|
|
||||||
// Spin up a routine for updating the payload in background. This strategy
|
// Spin up a routine for updating the payload in background. This strategy
|
||||||
// can maximum the revenue for including transactions with highest fee.
|
// can maximize the revenue for including transactions with highest fee.
|
||||||
go func() {
|
go func() {
|
||||||
// Setup the timer for re-building the payload. The initial clock is kept
|
// Setup the timer for re-building the payload. The initial clock is kept
|
||||||
// for triggering process immediately.
|
// for triggering process immediately.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue