1
0

Merge pull request #582 from dabura667/csvaddresserr

CSV: Show erroneous addresses in warning window.
This commit is contained in:
ThomasV
2014-02-27 14:12:08 +01:00
2 changed files with 12 additions and 2 deletions

View File

@@ -1262,7 +1262,7 @@ class NewWallet:
def make_unsigned_transaction(self, outputs, fee=None, change_addr=None, domain=None ):
for address, x in outputs:
assert is_valid(address)
assert is_valid(address), "Address " + address + " is invalid!"
amount = sum( map(lambda x:x[1], outputs) )
inputs, total, fee = self.choose_tx_inputs( amount, fee, domain )
if not inputs: