blocknetdx / xlite

Official XLite multi-wallet
MIT License
3 stars 7 forks source link

[bug] Clicking Send Max button results in dust error #142

Closed shrnkld closed 2 years ago

shrnkld commented 3 years ago

Scenario:

XLite with a positive asset balance, trying to send max amount to external address.

Reproduced with: LTC (BTC needs to be tested too)

Steps to reproduce:

  1. click send and select LTC
  2. add receive address
  3. click ‘send max’ button
  4. error shown in send modal: Input amount is too small (dust)

Expected:

  1. click send and select LTC
  2. add receive address
  3. click ‘send max’ button
  4. xlite should calculate: Total LTC available - Network fee = Total to send
  5. funds sent Screen Shot 2021-07-23 at 10 28 43 Screen Shot 2021-07-23 at 10 29 10

Environment: XLite 1.0.2