tsort unconfirmed transactions by height - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 107adb186f0832707cc8f7751591b4931de2e945
DIR parent 6185f94de413fbbe3de0c0ffffd52a8692dacee2
HTML Author: ThomasV <thomasv@electrum.org>
Date: Wed, 15 Mar 2017 18:05:05 +0100
sort unconfirmed transactions by height
Diffstat:
M lib/wallet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -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)