From b0f993e7cf1a0caad785ce37b7f10e4a7095a5b2 Mon Sep 17 00:00:00 2001 From: thomasv Date: Wed, 17 Apr 2013 16:45:52 +0200 Subject: [PATCH] getaddressbalance needs 1 argument --- lib/commands.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index 694b680..48ff632 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.') -- 1.7.1