From b9dbd26534525219fa59e54bc78ef77077d7f1b4 Mon Sep 17 00:00:00 2001 From: Max Andreev Date: Thu, 12 Jan 2023 09:52:35 +0000 Subject: [PATCH] Revert "Fix eslint errors" This reverts commit 2667119a94c06a44b40a57d31d70c3cfe3f6e6e7. --- --- a/tests/src/eth/util/playgrounds/unique.dev.ts +++ b/tests/src/eth/util/playgrounds/unique.dev.ts @@ -190,7 +190,7 @@ async rftToken(address: string, caller?: string, mergeDeprecated = false) { const web3 = this.helper.getWeb3(); - const abi = mergeDeprecated ? [...refungibleTokenAbi, ...refungibleTokenDeprecatedAbi] : refungibleTokenAbi; + let abi = mergeDeprecated ? [...refungibleTokenAbi, ...refungibleTokenDeprecatedAbi] : refungibleTokenAbi; return unlimitedMoneyHack(new web3.eth.Contract(abi as any, address, { gas: this.helper.eth.DEFAULT_GAS, gasPrice: await this.getGasPrice(), @@ -199,7 +199,7 @@ } rftTokenById(collectionId: number, tokenId: number, caller?: string, mergeDeprecated = false) { - return this.rftToken(this.helper.ethAddress.fromTokenId(collectionId, tokenId), caller, mergeDeprecated); + return this.rftToken(this.helper.ethAddress.fromTokenId(collectionId, tokenId), caller, true); } } -- gitstuff