mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-28 03:02:35 -04:00
Remove warnings
This commit is contained in:
parent
c501d84278
commit
58ca33dd04
3 changed files with 6 additions and 2 deletions
|
@ -423,7 +423,9 @@ where
|
|||
)
|
||||
.expect("sig_{a,b} to be valid signatures for tx_cancel");
|
||||
|
||||
bitcoin_wallet.broadcast_signed_transaction(tx_cancel).await;
|
||||
bitcoin_wallet
|
||||
.broadcast_signed_transaction(tx_cancel)
|
||||
.await?;
|
||||
}
|
||||
|
||||
simple_swap(
|
||||
|
|
|
@ -156,7 +156,7 @@ impl TransactionBlockHeight for Wallet {
|
|||
|
||||
#[async_trait]
|
||||
impl GetRawTransaction for Wallet {
|
||||
async fn get_raw_transaction(&self, txid: Txid) -> Option<Transaction> {
|
||||
async fn get_raw_transaction(&self, _txid: Txid) -> Option<Transaction> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#![allow(non_snake_case)]
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::fmt::{self, Display};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue