[descriptors] Transform a descriptor into its "public" version

This commit is contained in:
Alekos Filini committed 2020-05-10 17:46:54 +02:00
1 parent 0e432f3b26
commit c1b01e4d8c
6 files changed
+267 -106

No files matched your search

+9 -2
View File
@@ -101,7 +101,12 @@ async fn main() {
continue;
}
cli::handle_matches(&Arc::clone(&wallet), matches.unwrap()).await;
if let Some(s) = cli::handle_matches(&Arc::clone(&wallet), matches.unwrap())
.await
.unwrap()
{
println!("{}", s);
}
}
Err(ReadlineError::Interrupted) => continue,
Err(ReadlineError::Eof) => break,
@@ -114,6 +119,8 @@ async fn main() {
// rl.save_history("history.txt").unwrap();
} else {
cli::handle_matches(&wallet, matches).await;
if let Some(s) = cli::handle_matches(&wallet, matches).await.unwrap() {
println!("{}", s);
}
}
}