mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 07:29:32 -05:00
Remove warnings
This commit is contained in:
parent
c501d84278
commit
58ca33dd04
@ -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…
Reference in New Issue
Block a user