mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-08-01 12:51:28 +00:00
Compiler warnings
This commit is contained in:
@@ -232,7 +232,7 @@ impl Command for SendCommand {
|
|||||||
let value = match args[1].parse::<u64>() {
|
let value = match args[1].parse::<u64>() {
|
||||||
Ok(amt) => amt,
|
Ok(amt) => amt,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
return format!("Couldn't parse amount: {}", e);;
|
return format!("Couldn't parse amount: {}", e);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -435,7 +435,7 @@ impl LightClient {
|
|||||||
"unconfirmed_spent" => utxo.unconfirmed_spent.map(|spent_txid| format!("{}", spent_txid)),
|
"unconfirmed_spent" => utxo.unconfirmed_spent.map(|spent_txid| format!("{}", spent_txid)),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.collect::<Vec<JsonValue>>();;
|
.collect::<Vec<JsonValue>>();
|
||||||
|
|
||||||
let mut res = object!{
|
let mut res = object!{
|
||||||
"unspent_notes" => unspent_notes,
|
"unspent_notes" => unspent_notes,
|
||||||
|
Reference in New Issue
Block a user