Compiler warnings

This commit is contained in:
Aditya Kulkarni 2019-10-15 10:15:42 -07:00
parent c6f92d41fa
commit 91de0220ab
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ impl Command for SendCommand {
let value = match args[1].parse::<u64>() {
Ok(amt) => amt,
Err(e) => {
return format!("Couldn't parse amount: {}", e);;
return format!("Couldn't parse amount: {}", e);
}
};

View File

@ -435,7 +435,7 @@ impl LightClient {
"unconfirmed_spent" => utxo.unconfirmed_spent.map(|spent_txid| format!("{}", spent_txid)),
}
)
.collect::<Vec<JsonValue>>();;
.collect::<Vec<JsonValue>>();
let mut res = object!{
"unspent_notes" => unspent_notes,