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,