commit 107adb186f0832707cc8f7751591b4931de2e945
parent 6185f94de413fbbe3de0c0ffffd52a8692dacee2
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 15 Mar 2017 18:05:05 +0100
sort unconfirmed transactions by height
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/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)