modified: mmgen/tx.py (bugfix in sort menu)

This commit is contained in:
The MMGen Project 2014-07-14 21:57:35 +04:00
commit e1c3da37a6
2 changed files with 2 additions and 2 deletions

View file

@ -39,3 +39,4 @@ mmgen/tests/mnemonic.py
mmgen/tests/test.py
mmgen/tests/util.py
mmgen/tests/walletgen.py
test/test.py

View file

@ -293,8 +293,7 @@ Display options: [g]roup, show [m]mgen addr, r[e]draw screen
elif reply == 'd': unspent.sort(key=s_addr); sort = "address"
elif reply == 'A': unspent.sort(key=s_age); sort = "age"
elif reply == 'M':
unspent.sort(s_mmgen)
sort = "mmgen"
unspent.sort(key=s_mmgen); sort = "mmgen"
show_mmaddr = True
elif reply == 'r':
unspent.reverse()