mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 17:26:28 +01:00
Problem: A transaction received from the network is added to all wallets that find it relevant. If two wallets find the same transaction relevant the same Transaction instance is added to both wallets. Spending the outputs from this transaction can cause consistiency issues, in particular if the outputs are spent in the same transaction, as shown in WalletTest.oneTxTwoWallets. There are probably more issues with having the same Transaction instance handled by two different wallets. Fix: Clone the transaction before adding it to the wallet. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
findbugs.xml |