chore: remove repeat word (#1671)

Signed-off-by: chengehe <hechenge@yeah.net>
This commit is contained in:
chengehe 2024-06-06 19:10:19 +09:00 committed by GitHub
parent 2eb9e01f97
commit 49a7f7eed6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ pub async fn cancel(
| AliceState::BtcRedeemed
| AliceState::XmrRefunded
| AliceState::BtcPunished
| AliceState::SafelyAborted => bail!("Swap is is in state {} which is not cancelable", state),
| AliceState::SafelyAborted => bail!("Swap is in state {} which is not cancelable", state),
};
let txid = match state3.submit_tx_cancel(bitcoin_wallet.as_ref()).await {

View file

@ -369,7 +369,7 @@ impl WalletRpc {
}
// If we do not hear from the monero_wallet_rpc process for 3 seconds we assume
// it is is ready
// it is ready
#[cfg(target_os = "windows")]
while let Ok(line) =
tokio::time::timeout(std::time::Duration::from_secs(3), reader.next_line()).await

View file

@ -258,7 +258,7 @@ async fn next_state(
// might not be able to ever transfer the Monero.
tracing::warn!("Failed to generate monero wallet from keys: {:#}", e);
tracing::info!(%wallet_file_name,
"Falling back to trying to open the the wallet if it already exists",
"Falling back to trying to open the wallet if it already exists",
);
monero_wallet.open(wallet_file_name).await?;
}