commit 8f507d2afd314e9af97da6409ead6787507e55bc
parent acbd434f76a407dfcaa7493a138054ee726898e8
Author: ThomasV <thomasv@gitorious>
Date: Wed, 22 Jul 2015 09:24:44 +0200
change var name
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -579,16 +579,16 @@ class Commands:
return self._format_request(req)
@command('wp')
- def signrequest(self, key):
+ def signrequest(self, address):
"Sign payment request with an OpenAlias"
alias = self.config.get('alias')
alias_addr = self.contacts.resolve(alias)['address']
- self.wallet.sign_payment_request(key, alias, alias_addr, self.password)
+ self.wallet.sign_payment_request(address, alias, alias_addr, self.password)
@command('w')
- def rmrequest(self, key):
+ def rmrequest(self, address):
"""Remove a payment request"""
- return self.wallet.remove_payment_request(key, self.config)
+ return self.wallet.remove_payment_request(address, self.config)
param_descriptions = {
'privkey': 'Private key. Type \'?\' to get a prompt.',