1
0

make most commands available in the console

This commit is contained in:
thomasv
2013-02-26 13:56:48 +01:00
parent dc466142d3
commit 42a10164ea
6 changed files with 381 additions and 294 deletions

View File

@@ -652,7 +652,7 @@ class Wallet:
return default_label
def mktx(self, outputs, label, password, fee=None, change_addr=None, from_addr= None):
def mktx(self, outputs, password, fee=None, change_addr=None, from_addr= None):
for address, x in outputs:
assert self.is_valid(address)
@@ -682,8 +682,8 @@ class Wallet:
if address not in self.addressbook and not self.is_mine(address):
self.addressbook.append(address)
if label:
self.labels[tx.hash()] = label
#if label:
# self.labels[tx.hash()] = label
return tx