Skip to content

Commit

Permalink
change 72 to 24 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
microchipgnu committed May 3, 2021
1 parent f95d158 commit 467ba5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ export const ONE_YOCTO = new BN('1')
export const ZERO = new BN('0')
export const LIST_COST = new BN('100000000000000000000000')
export const DEPLOY_STORE_COST = new BN('7000000000000000000000000')

export const TWENTY_FOUR = 24
export const SEVENTY_TWO = 72
5 changes: 3 additions & 2 deletions src/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import {
ZERO,
LIST_COST,
DEPLOY_STORE_COST,
TWENTY_FOUR,
} from './constants'
import { Minter } from './minter'

Expand Down Expand Up @@ -469,7 +470,7 @@ export class Wallet {
{
token_key: list.token.id,
price: setPrice,
timeout: { Hours: 72 },
timeout: { Hours: TWENTY_FOUR },
},
MAX_GAS,
setPrice
Expand Down Expand Up @@ -498,7 +499,7 @@ export class Wallet {
{
token_key: tokenId,
price: price,
timeout: { Hours: 72 },
timeout: { Hours: TWENTY_FOUR },
},
MAX_GAS,
price
Expand Down

0 comments on commit 467ba5c

Please sign in to comment.