mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 10:15:52 +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 {
|
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…
x
Reference in New Issue
Block a user