diff --git a/rpc/jsonrpc/eth_call.go b/rpc/jsonrpc/eth_call.go index 9b092f8154d..4794d478420 100644 --- a/rpc/jsonrpc/eth_call.go +++ b/rpc/jsonrpc/eth_call.go @@ -474,6 +474,7 @@ func (api *APIImpl) getProof(ctx context.Context, roTx kv.TemporalTx, address co if err != nil { return nil, err } + defer domains.Close() sdCtx := domains.GetCommitmentContext() latestBlock, err := rpchelper.GetLatestBlockNumber(roTx)