LedgerHQ / ledger-wallet-chrome

Ledger Wallet Chrome application
http://www.ledgerwallet.com/apps/bitcoin
MIT License
161 stars 118 forks source link

Incorrect fee calculation for BTG, resulting in failed transaction #81

Open rkistner opened 6 years ago

rkistner commented 6 years ago

When trying to send BTG, and selecting the default "High" transaction fees, the fees are still too low.

See example:

image

This results in an error like this, with no explanation:

image

The error in the network response is a 500 with this body:

{"error":"{\"result\":null,\"error\":{\"code\":-26,\"message\":\"66: min relay fee not met\"},\"id\":<filtered>}"}

Luckily this makes sense. So I just used a custom fee of 10 satoshis per byte, and then the transaction worked without issue.

Side note: The error dialog is also a big issue. Not giving any details makes the error quite scary when large amounts of money is involved, and the user doesn't know whether the transaction went through or not. Possibilities going through your head: