Skip to content

Commit

Permalink
Fix ETH insufficient fee
Browse files Browse the repository at this point in the history
  • Loading branch information
monokh committed Mar 27, 2020
1 parent 4c4b7ab commit 136461c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions/wallets.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getClient } from '../services/chainClient'
import { getClient, getNetworkClient } from '../services/chainClient'
import { steps } from '../components/SwapProgressStepper/steps'
import cryptoassets from '@liquality/cryptoassets'

Expand Down Expand Up @@ -29,7 +29,7 @@ function waitForWalletInitialization (party, currency, wallet) {
const currencyCode = assets[party].currency
const currency = cryptoassets[currencyCode]
const client = getClient(currencyCode, wallet)
const networkClient = getClient(currencyCode, wallet)
const networkClient = getNetworkClient(currencyCode, wallet)
const addressesPerCall = 100
const unusedAddress = await client.wallet.getUnusedAddress()
let allAddresses = await client.wallet.getUsedAddresses(addressesPerCall)
Expand Down

0 comments on commit 136461c

Please sign in to comment.