Skip to content

Commit

Permalink
Merge pull request #127 from omgnetwork/kevin/fix-exitid-bug
Browse files Browse the repository at this point in the history
fix: bug that assumed exitId was a BigNumber
  • Loading branch information
kevsul authored Mar 9, 2021
2 parents c7c199f + e897e49 commit 064323f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/networkService.js
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ class NetworkService {
const rawQueues = get(state, 'queue', {});
const queues = flatten(Object.values(rawQueues));

const exitId = networkService.web3.utils.hexToNumberString(exit.returnValues.exitId._hex);
const exitId = exit.returnValues.exitId.toString();
const queuedExit = queues.find(i => i.exitId === exitId);
let queuePosition;
let queueLength;
Expand Down

0 comments on commit 064323f

Please sign in to comment.