Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BTC send tx dust handling and strange value formatting #2676

Open
peterzen opened this issue Jan 19, 2024 · 4 comments
Open

BTC send tx dust handling and strange value formatting #2676

peterzen opened this issue Jan 19, 2024 · 4 comments

Comments

@peterzen
Copy link
Member

peterzen commented Jan 19, 2024

Getting the below log message and UI when trying to send a small amount on testnet, ~ 0.000018 BTC. The transaction should probably have been rejected as being dust (I'm not sure what the threshold is). Although the log says the send was successful, it doesn't seem to have been broadcast. Also, the rendering of the amount in the TxHistory UI isn't correct.

2024-01-19 13:11:43.573 [INF] CORE: notify: |SUCCESS| (send) Send successful - Sending 184467440737.09533691 btc to tb1qt0lenzqp8ay0ryehj7m3wwuds240mzhgdhqp4c has completed successfully. Tx ID = 3610b1811a890966b9af3dfe322fe246c67e40b164f3660eb493538c1b0d26b6:0

Strange amount value formatting in txhistory UI:

image

image

@martonp
Copy link
Contributor

martonp commented Feb 1, 2024

@peterzen Was the transaction eventually removed from the history?

@peterzen
Copy link
Member Author

peterzen commented Feb 1, 2024

No, it stayed there indefinitely.

@martonp
Copy link
Contributor

martonp commented Feb 1, 2024

If you open it back up now, it's still there? It should be deleting pending transactions if the wallet does not now about them.

It seems like when you sent, the inputs were less than the outputs. This is why there was an integer underflow. I'm unable to reproduce this.

@peterzen
Copy link
Member Author

peterzen commented Feb 1, 2024

I've nuked the wallet since then. I'll try to reproduce it.

This happened on testnet - had an incoming tx (~0.0001) from a faucet and then sent it on choosing the max amount and subtract fees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants