From 91de0220ab7919fb0986cf487f086dd31151e47d Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Tue, 15 Oct 2019 10:15:42 -0700 Subject: [PATCH] Compiler warnings --- lib/src/commands.rs | 2 +- lib/src/lightclient.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/commands.rs b/lib/src/commands.rs index fbb0d8f..c4cb356 100644 --- a/lib/src/commands.rs +++ b/lib/src/commands.rs @@ -232,7 +232,7 @@ impl Command for SendCommand { let value = match args[1].parse::() { Ok(amt) => amt, Err(e) => { - return format!("Couldn't parse amount: {}", e);; + return format!("Couldn't parse amount: {}", e); } }; diff --git a/lib/src/lightclient.rs b/lib/src/lightclient.rs index aab6f00..56b62f8 100644 --- a/lib/src/lightclient.rs +++ b/lib/src/lightclient.rs @@ -435,7 +435,7 @@ impl LightClient { "unconfirmed_spent" => utxo.unconfirmed_spent.map(|spent_txid| format!("{}", spent_txid)), } ) - .collect::>();; + .collect::>(); let mut res = object!{ "unspent_notes" => unspent_notes,