Json for tx list
This commit is contained in:
@@ -136,7 +136,8 @@ impl Command for TransactionsCommand {
|
||||
}
|
||||
|
||||
fn exec(&self, _args: &[String], lightclient: &mut LightClient) {
|
||||
lightclient.do_list_transactions();
|
||||
let txns = lightclient.do_list_transactions();
|
||||
println!("{}", txns.pretty(2));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user