make abandon_claim compatible with old function name
This commit is contained in:
parent
b010192f8e
commit
4cc941fbec
1 changed files with 14 additions and 1 deletions
|
@ -2032,7 +2032,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
|||
Args:
|
||||
'txid': txid of claim, string
|
||||
Return:
|
||||
Confirmation message
|
||||
txid
|
||||
"""
|
||||
|
||||
if 'txid' in p.keys():
|
||||
|
@ -2051,6 +2051,19 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
|||
|
||||
return d
|
||||
|
||||
def jsonrpc_abandon_name(self, p):
|
||||
"""
|
||||
DEPRECIATED, use abandon_claim
|
||||
|
||||
Args:
|
||||
'txid': txid of claim, string
|
||||
Return:
|
||||
txid
|
||||
"""
|
||||
|
||||
return self.jsonrpc_abandon_claim(p)
|
||||
|
||||
|
||||
def jsonrpc_support_claim(self, p):
|
||||
"""
|
||||
Support a name claim
|
||||
|
|
Loading…
Reference in a new issue