mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Release transaction in EngineGetPayloadBodiesByRangeV1 (and by hash) (#7199)
Should hopefully help with Issue #7172
This commit is contained in:
parent
e5e97ce1f0
commit
db726a0a3d
@ -728,6 +728,7 @@ func (s *EthBackendServer) EngineGetPayloadBodiesByHashV1(ctx context.Context, r
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer tx.Rollback()
|
||||
|
||||
bodies := make([]*types2.ExecutionPayloadBodyV1, len(request.Hashes))
|
||||
|
||||
@ -753,6 +754,7 @@ func (s *EthBackendServer) EngineGetPayloadBodiesByRangeV1(ctx context.Context,
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer tx.Rollback()
|
||||
|
||||
bodies := make([]*types2.ExecutionPayloadBodyV1, 0, request.Count)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user