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:
parent
98bbf83a7a
commit
a1e9a42687
@ -51,7 +51,6 @@ export interface NftCreateData {
|
|||||||
* Provides an interface for NFT Factory contract
|
* Provides an interface for NFT Factory contract
|
||||||
*/
|
*/
|
||||||
export class NftFactory {
|
export class NftFactory {
|
||||||
public GASLIMIT_DEFAULT = 1000000
|
|
||||||
public factory721Address: string
|
public factory721Address: string
|
||||||
public factory721Abi: AbiItem | AbiItem[]
|
public factory721Abi: AbiItem | AbiItem[]
|
||||||
public web3: Web3
|
public web3: Web3
|
||||||
|
@ -194,8 +194,6 @@ export class Datatoken {
|
|||||||
this.config
|
this.config
|
||||||
)
|
)
|
||||||
|
|
||||||
const gasLimitDefault = this.GASLIMIT_DEFAULT
|
|
||||||
|
|
||||||
if (!fixedRateParams.allowedConsumer) fixedRateParams.allowedConsumer = ZERO_ADDRESS
|
if (!fixedRateParams.allowedConsumer) fixedRateParams.allowedConsumer = ZERO_ADDRESS
|
||||||
const withMint = fixedRateParams.withMint ? 1 : 0
|
const withMint = fixedRateParams.withMint ? 1 : 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user