Blockstream / green_qt

Blockstream Green App
GNU General Public License v3.0
188 stars 31 forks source link

asset SEND dialog error "[JSON.EXCEPTION... KEY 'BTC' NOT FOUND]" when no L-BTC in wallet #31

Closed philippem closed 3 years ago

philippem commented 4 years ago

Description

When sending an issued asset from a wallet that has no L-BTC available, the message "[JSON.EXCEPTION.OUT_OF_RANGE.403] KEY 'BTC' NOT FOUND" appears at the bottom of the dialog.

Version

Steps to reproduce

  1. Transfer asset to empty Green QT wallet, Main Account
  2. Click "SEND" from Main Account
  3. Add a valid receipientLiquid Address
  4. Select issued asset
  5. Enter numerical amount

Expected behaviour

A message to the effect of "inadequate L-BTC for transaction"

Actual behaviour

Internal error message "[JSON.EXCEPTION.OUT_OF_RANGE.403] KEY 'BTC' NOT FOUND"

Screenshots

green-qt-20200528-no-lbtc

Device or machine

macOS 10.14.6

domegabri commented 4 years ago

marked as a bug, thanks for reporting

domegabri commented 3 years ago

@philippem thanks for reporting this bug. We have improved the UX and we are not showing the error anymore. The send button is not disabled. We might want to add a tooltip telling the user he needs to receive funds to be able to send.

domegabri commented 3 years ago

fixed