This commit is contained in:
ThomasV 2012-02-19 20:57:51 +01:00
parent 81f25b5f87
commit 19b6a091e0
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
import re, sys, getpass import re, sys, getpass
from optparse import OptionParser from optparse import OptionParser
from wallet import Wallet from wallet import Wallet, SecretToASecret
from interface import Interface from interface import Interface
from decimal import Decimal from decimal import Decimal
@ -270,7 +270,7 @@ if __name__ == '__main__':
b = "%d %d %s"%(no, ni, str(Decimal(wallet.get_addr_balance(addr)[0])/100000000)) b = "%d %d %s"%(no, ni, str(Decimal(wallet.get_addr_balance(addr)[0])/100000000))
else: b='' else: b=''
if options.show_keys: if options.show_keys:
pk = wallet.get_private_key2(addr, password) pk = wallet.get_private_key(addr, password)
addr = addr + ':' + SecretToASecret(pk) addr = addr + ':' + SecretToASecret(pk)
print addr, b, _type, label print addr, b, _type, label