1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

fix error with GASLIMIT_DEFAULT

This commit is contained in:
Miquel A. Cabot 2022-04-12 10:05:22 +02:00
parent 98bbf83a7a
commit a1e9a42687
2 changed files with 0 additions and 3 deletions

View File

@ -51,7 +51,6 @@ export interface NftCreateData {
* Provides an interface for NFT Factory contract
*/
export class NftFactory {
public GASLIMIT_DEFAULT = 1000000
public factory721Address: string
public factory721Abi: AbiItem | AbiItem[]
public web3: Web3

View File

@ -194,8 +194,6 @@ export class Datatoken {
this.config
)
const gasLimitDefault = this.GASLIMIT_DEFAULT
if (!fixedRateParams.allowedConsumer) fixedRateParams.allowedConsumer = ZERO_ADDRESS
const withMint = fixedRateParams.withMint ? 1 : 0