tcli: clear up "rbf" arg for "payto" cmd in help text; and use eval_bool - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c31fa059fe01a38ae5f382715283fbec5f6dca9a DIR parent 420b1a66362bf9b3965afbb58953eaf41c3c06f3 HTML Author: SomberNight <somber.night@protonmail.com> Date: Fri, 22 Nov 2019 16:09:42 +0100 cli: clear up "rbf" arg for "payto" cmd in help text; and use eval_bool related: #5791 (previously rbf was a str, and it was casted to a bool directly, i.e. only tthe empty string "" evaluated as False) Diffstat: M electrum/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/commands.py b/electrum/commands.py t@@ -1034,7 +1034,7 @@ command_options = { 'passphrase': (None, "Seed extension"), 'privkey': (None, "Private key. Set to '?' to get a prompt."), 'unsigned': ("-u", "Do not sign transaction"), - 'rbf': (None, "Replace-by-fee transaction"), + 'rbf': (None, "Whether to signal opt-in Replace-By-Fee in the transaction (true/false)"), 'locktime': (None, "Set locktime block number"), 'domain': ("-D", "List of addresses"), 'memo': ("-m", "Description of the request"), t@@ -1078,6 +1078,7 @@ arg_types = { 'fee_method': str, 'fee_level': json_loads, 'encrypt_file': eval_bool, + 'rbf': eval_bool, 'timeout': float, }