Omnibus commited on
Commit
64fa4cd
1 Parent(s): 8c40af7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def generate_keys():
35
  file_out_pub.close()
36
 
37
  qr_link="test"
38
- priv_key = stegan.conv_im("private_key.png",data=file_out_priv)
39
- pub_key = stegan.conv_im("public_key.png",data=file_out_pub)
40
  hash_1 = calculate_hash(public_key, hash_function="sha256")
41
  hash_2 = calculate_hash(hash_1, hash_function="ripemd160")
42
  address = base58.b58encode(hash_2)
 
35
  file_out_pub.close()
36
 
37
  qr_link="test"
38
+ priv_key = stegan.conv_im("private_key.png",data=private_key)
39
+ pub_key = stegan.conv_im("public_key.png",data=public_key)
40
  hash_1 = calculate_hash(public_key, hash_function="sha256")
41
  hash_2 = calculate_hash(hash_1, hash_function="ripemd160")
42
  address = base58.b58encode(hash_2)