[bisq-network/bitcoinj] Clone transaction before adding to wallet (#18)

sqrrm notifications at github.com
Tue Dec 25 23:23:56 UTC 2018


I don't think any of those fixes would solve the issue I found. The problem I encountered was that when txA (a tx sending some BTC from BTC wallet to BSQ wallet) was broadcast it was first added in the BTC wallet and on broadcast completion the same txA was added to the BSQ wallet. When spending from the BSQ wallet the spend txB is committed to first the BTC wallet and then to the BSQ wallet. In the commit to the BTC wallet, a txA output used by txB will be tagged as spent and when the BSQ wallet tries to do the same thing the txA output is no longer spendable and the wallet ends up in a bad state.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bitcoinj/pull/18#issuecomment-449878851
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181225/6d7ceeee/attachment.html>


More information about the bisq-github mailing list