mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-25 18:29:09 -04:00
Fix comparison of Monero confirmations
This commit is contained in:
parent
4b99d68790
commit
5d4cf40831
@ -193,7 +193,7 @@ impl Wallet {
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
if proof.confirmations > confirmations.load(Ordering::SeqCst) {
|
if proof.confirmations >= confirmations.load(Ordering::SeqCst) {
|
||||||
confirmations.store(proof.confirmations, Ordering::SeqCst);
|
confirmations.store(proof.confirmations, Ordering::SeqCst);
|
||||||
|
|
||||||
let txid = &transfer_proof.tx_hash.0;
|
let txid = &transfer_proof.tx_hash.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user