mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
change var name
This commit is contained in:
parent
acbd434f76
commit
8f507d2afd
1 changed files with 4 additions and 4 deletions
|
@ -579,16 +579,16 @@ class Commands:
|
||||||
return self._format_request(req)
|
return self._format_request(req)
|
||||||
|
|
||||||
@command('wp')
|
@command('wp')
|
||||||
def signrequest(self, key):
|
def signrequest(self, address):
|
||||||
"Sign payment request with an OpenAlias"
|
"Sign payment request with an OpenAlias"
|
||||||
alias = self.config.get('alias')
|
alias = self.config.get('alias')
|
||||||
alias_addr = self.contacts.resolve(alias)['address']
|
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')
|
@command('w')
|
||||||
def rmrequest(self, key):
|
def rmrequest(self, address):
|
||||||
"""Remove a payment request"""
|
"""Remove a payment request"""
|
||||||
return self.wallet.remove_payment_request(key, self.config)
|
return self.wallet.remove_payment_request(address, self.config)
|
||||||
|
|
||||||
param_descriptions = {
|
param_descriptions = {
|
||||||
'privkey': 'Private key. Type \'?\' to get a prompt.',
|
'privkey': 'Private key. Type \'?\' to get a prompt.',
|
||||||
|
|
Loading…
Add table
Reference in a new issue