Spaces:
Runtime error
Runtime error
Update crypt.py
Browse files
crypt.py
CHANGED
@@ -237,6 +237,7 @@ def address(im):
|
|
237 |
hash_1 = calculate_hash(public_key, hash_function="sha256")
|
238 |
hash_2 = calculate_hash(hash_1, hash_function="ripemd160")
|
239 |
address = base58.b58encode(hash_2)
|
|
|
240 |
print (address)
|
241 |
address = address.strip("b")
|
242 |
print (address)
|
|
|
237 |
hash_1 = calculate_hash(public_key, hash_function="sha256")
|
238 |
hash_2 = calculate_hash(hash_1, hash_function="ripemd160")
|
239 |
address = base58.b58encode(hash_2)
|
240 |
+
address= str(address)
|
241 |
print (address)
|
242 |
address = address.strip("b")
|
243 |
print (address)
|