diff --git a/package.json b/package.json index 39699b72..828b8950 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simple-uniswap-sdk", - "version": "3.3.0", + "version": "3.3.1", "description": "Simple easy to understand SDK for uniswap which looks over best v2 and v3 to find you the best swap quote", "main": "dist/cjs/index.js", "module": "./dist/esm/index.js", diff --git a/src/factories/pair/uniswap-pair.factory.ts b/src/factories/pair/uniswap-pair.factory.ts index cd602f50..898caf73 100644 --- a/src/factories/pair/uniswap-pair.factory.ts +++ b/src/factories/pair/uniswap-pair.factory.ts @@ -1183,8 +1183,7 @@ export class UniswapPairFactory { if (!this._watchingBlocks) { this._uniswapPairFactoryContext.ethersProvider.provider.on( 'block', - async (block: number) => { - console.log('block', block); + async () => { await this.handleNewBlock(); } );