mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-02-01 03:12:15 +00:00
Compiler warnings
This commit is contained in:
parent
c6f92d41fa
commit
91de0220ab
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user