mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-17 16:40:40 +00:00
eth/catalyst: propagate passed context in call to newPayload
This commit is contained in:
parent
c14f3e4c2f
commit
a46bd22ba9
1 changed files with 1 additions and 1 deletions
|
|
@ -766,7 +766,7 @@ func (api *ConsensusAPI) NewPayloadV5(ctx context.Context, params engine.Executa
|
|||
if err := validateRequests(requests); err != nil {
|
||||
return engine.PayloadStatusV1{Status: engine.INVALID}, engine.InvalidParams.With(err)
|
||||
}
|
||||
return api.newPayload(context.Background(), params, versionedHashes, beaconRoot, requests, false)
|
||||
return api.newPayload(ctx, params, versionedHashes, beaconRoot, requests, false)
|
||||
}
|
||||
|
||||
func (api *ConsensusAPI) newPayload(ctx context.Context, params engine.ExecutableData, versionedHashes []common.Hash, beaconRoot *common.Hash, requests [][]byte, witness bool) (result engine.PayloadStatusV1, err error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue