Remove warnings

This commit is contained in:
Franck Royer 2020-11-24 16:49:47 +11:00 committed by rishflab
parent c501d84278
commit 58ca33dd04
3 changed files with 6 additions and 2 deletions

View File

@ -423,7 +423,9 @@ where
) )
.expect("sig_{a,b} to be valid signatures for tx_cancel"); .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( simple_swap(

View File

@ -156,7 +156,7 @@ impl TransactionBlockHeight for Wallet {
#[async_trait] #[async_trait]
impl GetRawTransaction for Wallet { 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!() todo!()
} }
} }

View File

@ -1,3 +1,5 @@
#![allow(non_snake_case)]
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::fmt::{self, Display}; use std::fmt::{self, Display};