Skip to content

Commit

Permalink
close session
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromtcosta committed Nov 23, 2022
1 parent 63750b9 commit a7acdf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v3/txs/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ RETURN block, tx, outputs, inputs, collateral_inputs, withdrawals, certificates,
...paginationParameters
});

await session.close();

const txs = response.records.map(r => {
const tx = neo4jCast<Neo4jModel.TX>(r.get("tx"));
const block = neo4jCast<Neo4jModel.Block>(r.get("block"));
Expand Down

0 comments on commit a7acdf8

Please sign in to comment.