Comparing version 4.1.6 to 4.1.7
@@ -14,2 +14,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const ethers_1 = require("ethers"); | ||
const semaphore_1 = __importDefault(require("semaphore")); | ||
@@ -435,3 +436,3 @@ const lib_1 = require("../lib"); | ||
Math.min(block.number + 4000, currentBlockNumber)); | ||
const event = evts.find((e) => e.values.txCount[0] === channel.txCountGlobal); | ||
const event = evts.find((e) => e.values.txCount[0].eq(ethers_1.ethers.utils.bigNumberify(channel.txCountGlobal))); | ||
if (event) { | ||
@@ -438,0 +439,0 @@ return { didEmit: 'yes', latestBlock: block, event }; |
{ | ||
"name": "connext", | ||
"description": "Shared code between wallet and hub", | ||
"version": "4.1.6", | ||
"version": "4.1.7", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "types": "types/index.d.ts", |
@@ -510,3 +510,3 @@ import { ethers as eth } from 'ethers' | ||
) | ||
const event: any = evts.find((e: any): any => e.values.txCount[0] === channel.txCountGlobal) | ||
const event: any = evts.find((e: any): any => e.values.txCount[0].eq(eth.utils.bigNumberify(channel.txCountGlobal))) | ||
if (event) { | ||
@@ -513,0 +513,0 @@ return { didEmit: 'yes', latestBlock: block, event } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1611210
186
31022
252