Skip to content

Transaction status pending forever if fee larger than balance #364

@hadacnot

Description

@hadacnot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions