Browse Source

sort unconfirmed transactions by height

283
ThomasV 8 years ago
parent
commit
107adb186f
  1. 2
      lib/wallet.py

2
lib/wallet.py

@ -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)

Loading…
Cancel
Save