rhirhi90 / bitcoin-wallet

Automatically exported from code.google.com/p/bitcoin-wallet
0 stars 0 forks source link

Better error if user tries to send to many bitcoins #216

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.you have 0.9btc available
2.you try to send 0.9btc
3.there is an error message which tells you that there is a problem 

What is the expected output? What do you see instead?
The error message should not say that there is an error but explain, that the 
errors reason is, that there are not enough bitcoins to pay the fee of 0.001btc

What version of Bitcoin Wallet are you using? On what Android version and
what phone? Don't just state 'most recent', this is not enough info.
3.17

If you have problems with particular transactions, what is your Bitcoin
address? If you happen to have transaction IDs, please state them as well.

Please provide any additional information below.

Original issue reported on code.google.com by amuthm...@gmail.com on 21 Aug 2013 at 12:53

GoogleCodeExporter commented 9 years ago
What error message do you see?

If you send all available coins on a recent version it should do just that: 
Empty your wallet. If it doesn't, that's a bug.

Original comment by andreas....@gmail.com on 21 Aug 2013 at 1:12

GoogleCodeExporter commented 9 years ago
It just says "problem sending coins" 

I have 0.00866btc in my wallet and try to send 0.0086btc

Original comment by amuthm...@gmail.com on 21 Aug 2013 at 1:17

GoogleCodeExporter commented 9 years ago
Ok agreed, there is a "blind spot" if you don't the whole wallet, but you try 
to send enough that there's not enough left for the fee. The underlying problem 
is in bitcoinj, it does not provide error reasons yet.

As a workaround, try sending your whole wallet. There is a "empty wallet" 
action for that.

Original comment by andreas....@gmail.com on 21 Aug 2013 at 1:22

GoogleCodeExporter commented 9 years ago
Yeah empty wallet worked. 

Original comment by amuthm...@gmail.com on 21 Aug 2013 at 1:24

GoogleCodeExporter commented 9 years ago
From v3.31 on, you'll get a descriptive error message if you're out of funds.

Original comment by andreas....@gmail.com on 26 Feb 2014 at 12:29