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
8ad4870428
commit
b8eaf78b17
@ -713,6 +713,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))
|
||||
|
||||
@ -738,6 +739,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