1
0

sending fixed

This commit is contained in:
Dmitry Sorokin
2017-02-04 20:59:22 +03:00
committed by ThomasV
parent f02d18226b
commit 0693403358
8 changed files with 22 additions and 38 deletions

View File

@@ -1028,7 +1028,7 @@ class Abstract_Wallet(PrintError):
txin['signatures'] = [None] * len(txin['signatures'])
self.add_input_info(txin)
# use own outputs
s = filter(lambda x: self.is_mine(x[1]), outputs)
s = list(filter(lambda x: self.is_mine(x[1]), outputs))
# ... unless there is none
if not s:
s = outputs