1
0

missing arguments and types conversions

This commit is contained in:
thomasv
2013-03-01 14:08:51 +01:00
parent c5e3d7fc80
commit f3cc234c87
2 changed files with 6 additions and 42 deletions

View File

@@ -208,6 +208,10 @@ class Commands:
def _mktx(self, to_address, amount, fee = None, change_addr = None, from_addr = None):
if from_addr and from_addr not in wallet.all_addresses():
raise BaseException("address not in wallet")
for k, v in self.wallet.labels.items():
if v == to_address:
to_address = k