mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
fix: parameters
This commit is contained in:
parent
131654c147
commit
89958cc687
1 changed files with 2 additions and 2 deletions
|
@ -207,7 +207,7 @@ class Commands:
|
|||
|
||||
|
||||
def mktx(self, to_address, amount, fee = None, change_addr = None, from_addr = None):
|
||||
tx = self._mktx(to_address, amount, fee = None, change_addr = None, from_addr = None)
|
||||
tx = self._mktx(to_address, amount, fee, change_addr, from_addr)
|
||||
out = {"hex":str(tx), "complete":tx.is_complete}
|
||||
if not tx.is_complete:
|
||||
out['input_info'] = repr(tx.input_info).replace(' ','')
|
||||
|
@ -215,7 +215,7 @@ class Commands:
|
|||
|
||||
|
||||
def payto(self, to_address, amount, fee = None, change_addr = None, from_addr = None):
|
||||
tx = self._mktx(to_address, amount, fee = None, change_addr = None, from_addr = None)
|
||||
tx = self._mktx(to_address, amount, fee, change_addr, from_addr)
|
||||
r, h = wallet.sendtx( tx )
|
||||
print_msg(h)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue