mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
Wallet: another re-org fix.
This commit is contained in:
parent
60688752c9
commit
059b896062
@ -515,9 +515,11 @@ public class Wallet implements Serializable, BlockChainListener, PeerFilterProvi
|
||||
BlockChain.NewBlockType blockType) throws VerificationException {
|
||||
lock.lock();
|
||||
try {
|
||||
Transaction tx = pending.get(txHash);
|
||||
if (tx == null)
|
||||
Transaction tx = transactions.get(txHash);
|
||||
if (tx == null) {
|
||||
log.error("TX {} not found despite being sent to wallet", txHash);
|
||||
return;
|
||||
}
|
||||
receive(tx, block, blockType);
|
||||
} finally {
|
||||
lock.unlock();
|
||||
|
Loading…
x
Reference in New Issue
Block a user