If you send your entire balance, then you won’t have enough left to pay any fee. You could send 49.99.
I think I know what happened. Doubleclick on the generated transaction. It probably has a sub-0.01 transaction fee in it.
Someone has been paying a 0.00000010 transaction fee. I don’t think you can even set that with -paytxfee, I think you’d have to modify the code to do it. Your generated block is worth 50.00000010, so when you try to send the whole thing you have 0.00000010 left over for the change, which triggers the dust spam 0.01 fee.
It would normally be harmless except in this corner case. I should add a special case to CreateTransaction to handle this.
10,516 total views, 5 views todayhttps://bitcointalk.org/index.php?topic=1013.msg12342#msg12342