From a65b82271e40befbe36263657a14ba629ca4f9f9 Mon Sep 17 00:00:00 2001 From: AdamISZ Date: Tue, 16 Oct 2018 21:21:51 +0200 Subject: [PATCH] fix help msg error for changemixdepth --- jmclient/jmclient/wallet_utils.py | 2 +- scripts/tumbler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jmclient/jmclient/wallet_utils.py b/jmclient/jmclient/wallet_utils.py index 1781b9f..a0ce515 100644 --- a/jmclient/jmclient/wallet_utils.py +++ b/jmclient/jmclient/wallet_utils.py @@ -32,7 +32,7 @@ def get_wallettool_parser(): '(dumpprivkey) Export a single private key, specify an hd wallet path\n' '(signmessage) Sign a message with the private key from an address in \n' 'the wallet. Use with -H and specify an HD wallet path for the address.\n' - '(changemixdepth) Use with -m to change the *maximum* number of mixdepths\n' + '(changemixdepth) Use with -M to change the *maximum* number of mixdepths\n' 'in the wallet; you are advised to only increase, not decrease this \n' 'number from the current value (initially 5).') parser = OptionParser(usage='usage: %prog [options] [wallet file] [method]', diff --git a/scripts/tumbler.py b/scripts/tumbler.py index 9256d6e..e5ab8fb 100644 --- a/scripts/tumbler.py +++ b/scripts/tumbler.py @@ -35,7 +35,7 @@ def main(): if wallet.max_mixdepth < max_mix_depth: print("Your wallet does not contain the required number of mixdepths: ", max_mix_depth) - print("Increase using this command: `python wallet-tool.py -m ", + print("Increase using this command: `python wallet-tool.py -M ", max_mix_depth + 1, " (yourwalletname) changemixdepth") print("Then start the tumbler again with the same settings.") sys.exit(0)