Remove warnings

pull/41/head
Franck Royer 4 years ago committed by rishflab
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…
Cancel
Save