Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,8 @@ def generate_keys():
|
|
| 42 |
hash_2 = calculate_hash(hash_1, hash_function="ripemd160")
|
| 43 |
address = base58.b58encode(hash_2)
|
| 44 |
address_im=qr.make_qr(txt=address)
|
| 45 |
-
|
|
|
|
| 46 |
#qr_link="test"
|
| 47 |
priv_key = stegan.conv_im("private_key.png",data=private_key)
|
| 48 |
pub_key = stegan.conv_im(address_im,data=public_key)
|
|
|
|
| 42 |
hash_2 = calculate_hash(hash_1, hash_function="ripemd160")
|
| 43 |
address = base58.b58encode(hash_2)
|
| 44 |
address_im=qr.make_qr(txt=address)
|
| 45 |
+
add_label = address.strip("b").strip("'")
|
| 46 |
+
address_im = overlay.textover(address_im, "Wallet",add_label)
|
| 47 |
#qr_link="test"
|
| 48 |
priv_key = stegan.conv_im("private_key.png",data=private_key)
|
| 49 |
pub_key = stegan.conv_im(address_im,data=public_key)
|