mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-25 15:10:18 +01:00
Wallet: another re-org fix.
This commit is contained in:
parent
60688752c9
commit
059b896062
1 changed files with 4 additions and 2 deletions
|
@ -515,9 +515,11 @@ public class Wallet implements Serializable, BlockChainListener, PeerFilterProvi
|
||||||
BlockChain.NewBlockType blockType) throws VerificationException {
|
BlockChain.NewBlockType blockType) throws VerificationException {
|
||||||
lock.lock();
|
lock.lock();
|
||||||
try {
|
try {
|
||||||
Transaction tx = pending.get(txHash);
|
Transaction tx = transactions.get(txHash);
|
||||||
if (tx == null)
|
if (tx == null) {
|
||||||
|
log.error("TX {} not found despite being sent to wallet", txHash);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
receive(tx, block, blockType);
|
receive(tx, block, blockType);
|
||||||
} finally {
|
} finally {
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
|
|
Loading…
Add table
Reference in a new issue