From 7b63ada1bc4dfb172b3fb65224e9a462a076a95c Mon Sep 17 00:00:00 2001 From: Daniel Gonzalez Date: Wed, 14 Apr 2021 12:27:52 -0400 Subject: [PATCH] fix(send-max): Fixed send max button error --- src/components/admin-lte/send-receive/send.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/admin-lte/send-receive/send.js b/src/components/admin-lte/send-receive/send.js index 331d1d0..bd0918e 100644 --- a/src/components/admin-lte/send-receive/send.js +++ b/src/components/admin-lte/send-receive/send.js @@ -211,13 +211,11 @@ class Send extends React.Component { async getMaxAmount () { try { const bchWalletLib = _this.props.bchWallet - // Ensure the wallet UTXOs are up-to-date. const walletAddr = bchWalletLib.walletInfo.address await bchWalletLib.utxos.initUtxoStore(walletAddr) - const utxos = bchWalletLib.utxos.bchUtxos - + const utxos = bchWalletLib.utxos.utxoStore.bchUtxos if (!utxos.length) { throw new Error('No BCH Utxos to spend!') }