Fix comparison of Monero confirmations

This commit is contained in:
Thomas Eizinger 2021-03-05 16:31:10 +11:00
parent 4b99d68790
commit 5d4cf40831
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

View File

@ -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;