Skip to content

Commit

Permalink
update to new node version
Browse files Browse the repository at this point in the history
  • Loading branch information
shrpne committed Apr 17, 2019
1 parent 89e2dd4 commit 0209b3f
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 193 deletions.
4 changes: 2 additions & 2 deletions api/gate.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import MinterApi from "minter-js-sdk/src/api";
import PostTx from 'minter-js-sdk/src/api/post-tx';
import EstimateCoinSell from 'minter-js-sdk/src/api/estimate-coin-sell';
import EstimateCoinBuy from 'minter-js-sdk/src/api/estimate-coin-buy';
import {MINTER_GATE_URL} from '~/assets/variables';
import {MINTER_GATE_URL, NETWORK, MAINNET, TESTNET} from '~/assets/variables';

const minterApi = new MinterApi({apiType: 'gate', baseURL: MINTER_GATE_URL});
const minterApi = new MinterApi({apiType: 'gate', baseURL: MINTER_GATE_URL, chainId: NETWORK === MAINNET ? 1 : 2});

export const postTx = new PostTx(minterApi);

Expand Down
Loading

0 comments on commit 0209b3f

Please sign in to comment.