mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 23:19:34 -05: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);
|
||||
|
||||
let txid = &transfer_proof.tx_hash.0;
|
||||
|
Loading…
Reference in New Issue
Block a user