mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-12 09:39:52 -04:00
Merge branch 'master' into master
This commit is contained in:
commit
b04e32ab86
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue