Merge branch 'master' into master

This commit is contained in:
binarybaron 2024-06-28 15:04:52 +02:00 committed by GitHub
commit b04e32ab86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@ use ::monero::{Address, Network, PrivateKey, PublicKey};
use anyhow::{Context, Result};
use monero_rpc::wallet::{BlockHeight, MoneroWalletRpc as _, Refreshed};
use monero_rpc::{jsonrpc, wallet};
use std::ops::Div;
use std::str::FromStr;
use std::time::Duration;
use tokio::sync::Mutex;
@ -233,7 +234,7 @@ impl Wallet {
let address = Address::standard(self.network, public_spend_key, public_view_key.into());
let check_interval = tokio::time::interval(self.sync_interval);
let check_interval = tokio::time::interval(self.sync_interval.div(10));
wait_for_confirmations(
&self.inner,