mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 15:21:39 +02:00
Merge branch 'master' into master
This commit is contained in:
@@ -624,6 +624,14 @@ pub fn wallet_command(
|
||||
&global_wallet_args,
|
||||
wallet_config.dark_background_color_scheme.unwrap_or(true),
|
||||
),
|
||||
("payments", Some(_)) => {
|
||||
info!("payments command received");
|
||||
command::payments(
|
||||
inst_wallet(),
|
||||
&global_wallet_args,
|
||||
wallet_config.dark_background_color_scheme.unwrap_or(true),
|
||||
)
|
||||
}
|
||||
("txs", Some(args)) => {
|
||||
let a = arg_parse!(parse_txs_args(&args));
|
||||
command::txs(
|
||||
|
||||
@@ -501,6 +501,10 @@ mod wallet_tests {
|
||||
let arg_vec = vec!["grin-wallet", "-p", "password", "-a", "mining", "outputs"];
|
||||
execute_command(&app, test_dir, "wallet1", &client1, arg_vec)?;
|
||||
|
||||
// payments
|
||||
let arg_vec = vec!["grin-wallet", "-p", "password", "-a", "mining", "payments"];
|
||||
execute_command(&app, test_dir, "wallet1", &client1, arg_vec)?;
|
||||
|
||||
// let logging finish
|
||||
thread::sleep(Duration::from_millis(200));
|
||||
Ok(())
|
||||
|
||||
@@ -163,7 +163,9 @@ subcommands:
|
||||
short: f
|
||||
long: fluff
|
||||
- outputs:
|
||||
about: Raw wallet output info (list of outputs)
|
||||
about: Raw wallet self owned output info (list of outputs)
|
||||
- payments:
|
||||
about: Raw wallet payment output info (list of outputs)
|
||||
- txs:
|
||||
about: Display transaction information
|
||||
args:
|
||||
|
||||
Reference in New Issue
Block a user