1
0

distinction between unconfirmed and unverified transactions

This commit is contained in:
ecdsa
2013-04-27 17:48:27 +02:00
parent 827e29c1dc
commit c95c80163d
4 changed files with 35 additions and 14 deletions

View File

@@ -670,7 +670,7 @@ class Wallet:
def get_tx_history(self, account=None):
with self.transaction_lock:
history = self.transactions.items()
history.sort(key = lambda x: self.verifier.verified_tx.get(x[0]) if self.verifier.verified_tx.get(x[0]) else (1e12,0,0))
history.sort(key = lambda x: self.verifier.get_txpos(x[0]))
result = []
balance = 0