summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-10-25 07:15:47 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-10-25 07:18:32 (GMT)
commitbf00e723097ab439868d7d16aa226cca72fab6e0 (patch)
tree1bfe0ef9a069330f67f2c82bd991d24a78fcaca4 /tests
parentc5bd2265a213bbd4714dd70f2adde3384340e027 (diff)
downloadeopayment-bf00e723097ab439868d7d16aa226cca72fab6e0.zip
eopayment-bf00e723097ab439868d7d16aa226cca72fab6e0.tar.gz
eopayment-bf00e723097ab439868d7d16aa226cca72fab6e0.tar.bz2
paybox: pass bytes to hashing function (#37212)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_paybox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_paybox.py b/tests/test_paybox.py
index 443d811..1782f4b 100644
--- a/tests/test_paybox.py
+++ b/tests/test_paybox.py
@@ -248,7 +248,7 @@ UX4D2A/QcMvkEcRVXFx5tQqcE9/JnMqE41TF/ebn7jC/MBxxtPFkUN7+EZoeMN7x
OWzAMDm/xsCWRvvel4GGixgm3aQRUPyTrlm4Ksy32Ya0rNnEDMAvB3dxOn7cp8GR
ZdzrudBlevZXpr6iYwIDAQAB
-----END PUBLIC KEY-----'''
- data = b'coin\n'
+ data = 'coin\n'
sig64 = '''VCt3sgT0ecacmDEWWNVXJ+jGmIPBMApK42tBJV0FlDjpllOGPy8MsAmLW4/QjTtx
z0Dkz0NjxvU+5WzQZh9Uuxr/egRCwV4NMRWqu0zaVVioeBvl4/5CWm4f4/1L9+0m
FBFKOZhgBJnkC+l6+XhT4aYWKaQ4ocmOMV92yjeXTE4='''