diff --git a/gui/gui_lite.py b/gui/gui_lite.py index f996fec3..7f8a4b2b 100644 --- a/gui/gui_lite.py +++ b/gui/gui_lite.py @@ -787,7 +787,7 @@ class MiniActuator: def set_configured_currency(self, set_quote_currency): """Set the inital fiat currency conversion country (USD/EUR/GBP) in the GUI to what it was set to in the wallet.""" - currency = self.wallet.config.get('conversion_currency') + currency = self.wallet.config.get('currency') # currency can be none when Electrum is used for the first # time and no setting has been created yet. if currency is not None: diff --git a/lib/commands.py b/lib/commands.py index 694b680a..48ff6328 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -50,7 +50,7 @@ register_command('dumpprivkeys', 0, 0, True, True, 'dump all private k register_command('eval', 1, 1, False, True, 'Run python eval() on an object', 'eval \nExample: eval \"wallet.aliases\"') register_command('freeze', 1, 1, False, True, 'Freeze the funds at one of your wallet\'s addresses') register_command('getbalance', 0, 1, False, False, 'Return the balance of your wallet, or of one account in your wallet', 'getbalance []') -register_command('getaddressbalance', 0, 1, False, False, 'Return the balance of an address', 'getbalance
') +register_command('getaddressbalance', 1, 1, False, False, 'Return the balance of an address', 'getbalance
') register_command('getaddresshistory', 1, 1, False, False, 'Return the transaction history of an address') register_command('getconfig', 1, 1, False, True, 'Return a configuration variable', 'getconfig ') register_command('getseed', 0, 0, True, True, 'Print the generation seed of your wallet.') diff --git a/scripts/merchant.py b/scripts/merchant.py index 9f01a01e..eee706d8 100644 --- a/scripts/merchant.py +++ b/scripts/merchant.py @@ -113,7 +113,7 @@ def process_request(i, amount, confirmations, expires_in, password): if password!=my_password: print "wrong password ", password return - addr = wallet.get_new_address(i, 0) + addr = wallet.get_new_address(0, i, 0) out_queue.put( ('request', (i, addr, amount, confirmations, expires_in) )) return addr