Skip to content

Commit

Permalink
Log "nn.nnn coins spent using strategy ..." on log level Debug
Browse files Browse the repository at this point in the history
Aiming for mimblewimble#288
  • Loading branch information
sesam committed Nov 19, 2017
1 parent caee282 commit 8413f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/grin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ fn wallet_command(wallet_args: &ArgMatches) {
(selection_strategy == "all"),
);
match result {
Ok(_) => {}, //success messaged logged internally
Ok(_) => { debug!(LOGGER, "{} coins sent using strategy {} to {}", amount.to_string(), selection_strategy, dest) }, //success messaged logged internally
Err(wallet::Error::NotEnoughFunds(_)) => {},
Err(e) => panic!(e),
};
Expand Down

0 comments on commit 8413f0c

Please sign in to comment.