Genesis script, properly show keys from addresses()
This commit is contained in:
parent
4fcf92097e
commit
f258686fc5
1 changed files with 7 additions and 1 deletions
|
|
@ -13,7 +13,13 @@ def pubkey():
|
|||
|
||||
|
||||
def address():
|
||||
pub = next(key).get_public_key()
|
||||
brain = next(key)
|
||||
pri = brain.get_private_key()
|
||||
pub = brain.get_public_key()
|
||||
print(
|
||||
"[\"{}\", \"{}\"]".format(
|
||||
format(pub, "TEST"), str(pri))
|
||||
)
|
||||
return format(Address.from_pubkey(pub), "TEST")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue