sort unconfirmed transactions by height

This commit is contained in:
ThomasV 2017-03-15 18:05:05 +01:00
parent 6185f94de4
commit 107adb186f
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ class Abstract_Wallet(PrintError):
elif y > 0:
return y, 0
else:
return 1e12, 0
return 1e12 - y, 0
def is_found(self):
return self.history.values() != [[]] * len(self.history)