Skip to content

Commit 136461c

Browse files
committed
Fix ETH insufficient fee
1 parent 4c4b7ab commit 136461c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/actions/wallets.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getClient } from '../services/chainClient'
1+
import { getClient, getNetworkClient } from '../services/chainClient'
22
import { steps } from '../components/SwapProgressStepper/steps'
33
import cryptoassets from '@liquality/cryptoassets'
44

@@ -29,7 +29,7 @@ function waitForWalletInitialization (party, currency, wallet) {
2929
const currencyCode = assets[party].currency
3030
const currency = cryptoassets[currencyCode]
3131
const client = getClient(currencyCode, wallet)
32-
const networkClient = getClient(currencyCode, wallet)
32+
const networkClient = getNetworkClient(currencyCode, wallet)
3333
const addressesPerCall = 100
3434
const unusedAddress = await client.wallet.getUnusedAddress()
3535
let allAddresses = await client.wallet.getUsedAddresses(addressesPerCall)

0 commit comments

Comments
 (0)