fix command

This commit is contained in:
DenioD
2020-10-01 20:40:16 +02:00
parent 980c341d0e
commit 8535a11e37
3 changed files with 9 additions and 4 deletions

View File

@@ -668,7 +668,7 @@ impl Command for ImportCommand {
}
let key = args[0];
let r = match lightclient.do_import_key(key.to_string(), 0) {
Ok(r) => r.pretty(2),
Err(e) => return format!("Error: {}", e),
@@ -701,7 +701,7 @@ impl Command for TImportCommand {
}
let key = args[0];
let r = match lightclient.do_import_tk(key.to_string(), 0) {
Ok(r) => r.pretty(2),
Err(e) => return format!("Error: {}", e),