Issue Details

Number
20943
Title
wallet: balance gone when tx broadcast failed
Description
on BTC mainnet. I set the txfee as minimal (custom `0.00001` per kilo) and it failed. The problem is displaying my balance as `0` (on QT GUI side) until abandon this tx. I was very scared. v0.20.1 ``` 2021-01-15T09:26:27Z [default wallet] AddToWallet xxx new 2021-01-15T09:26:28Z [default wallet] Submitting wtx xxx to mempool for relay 2021-01-15T09:26:28Z [default wallet] CommitTransaction(): Transaction cannot be broadcast immediately, mempool min fee not met, 142 < 152 2021-01-15T09:29:10Z [default wallet] Fee Calculation: Fee:17407 Bytes:142 Needed:17407 Tgt:0 (requested 0) Reason:"PayTxFee set" Decay 0.00000: Estimation: (-1 - -1) -nan% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) -nan% 0.0/(0.0 0 mem 0.0 out) ```
URL
https://github.com/bitcoin/bitcoin/issue/20943
Closed by
Back to List