qrl-wallet icon indicating copy to clipboard operation
qrl-wallet copied to clipboard

Transaction status pending forever if fee larger than balance

Open hadacnot opened this issue 5 years ago • 1 comments

I created an empty wallet. The balance is 0. Then I created a message, using 0.25 quanta as a fee (which I do not have) . The transaction is being relayed to the network, but stays in pending status forever, even if the raw details say 'null'. Shouldn't it be rejected then?

Moreover, what happens to the signature? Is it relayed to the network, and so unsafe?

If, after some minutes, I switch to the send/receive tab, it still says OTS index 0, so a user could attempt to recreate a message and reuse a private key I guess.

It's true that it happens with 0 balance (and I am not willing to test with balance>0) but, if confirmed, it seems to me a critical bug.

hadacnot avatar Jun 01 '19 06:06 hadacnot