Solved encode-decode, pack-unpack, new address creation issues

This commit is contained in:
jai.s 2019-10-22 13:07:54 +05:30
parent bc748acada
commit f3cb78557b
No known key found for this signature in database
GPG Key ID: 360CFA25EFC67D12
3 changed files with 1 additions and 3 deletions

View File

@ -47,7 +47,6 @@ def encode(val, base, minlen=0):
result = code_string[0] * (minlen - len(result)) + result
return result
def decode(string, base):
code_string = get_code_string(base)
result = 0

View File

@ -89,7 +89,6 @@ def isAddressInMyAddressBookSubscriptionsListOrWhitelist(address):
return True
return False
def decodeWalletImportFormat(WIFstring):
fullString = arithmetic.changebase(WIFstring, 58, 256)
privkey = fullString[:-4]