Skip to content

Commit

Permalink
Refactor transaction handler. (#20)
Browse files Browse the repository at this point in the history
Fixes turt2live#327

This:
- Moves the actual transaction handling logic to it's own function.
- Uses a `Map` to store the txnId => `Promise` .
- Always clears up transactions after they've run.
  • Loading branch information
Half-Shot authored Jul 3, 2023
2 parents f985cd4 + a0c209e commit cfae65f
Showing 1 changed file with 206 additions and 198 deletions.
Loading

0 comments on commit cfae65f

Please sign in to comment.