sort by height

This commit is contained in:
ThomasV 2014-03-11 09:37:39 +01:00
parent 0c786be46f
commit 9994bbc56f
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ while reached_servers:
errors = analyze(results).keys()
for n,v in results.items():
for n,v in sorted(results.items(), key=lambda x:x[1]['block_height']):
print "%40s"%n, v['block_height'], v['utxo_root'], "error" if n in errors else "ok"