Update walletaid.py

This commit is contained in:
Dwerg 2018-01-11 17:20:42 +00:00 committed by GitHub
parent fdb8ce67b8
commit 10f12b9685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ def hashtowif(b):
key = presha + h[0:4]
return b58encode(key)
def pubkey(c)
def address(c)
pubkey = str(g * c)
if pubkey[63] == " ":
pubkey = "0" + pubkey