Skip to content

Commit 4fedab8

Browse files
committed
fix tests: follow-up prev
1 parent d92b0c7 commit 4fedab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_onion_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def test_create_blinded_path(self):
199199

200200
self.assertEqual(pubkey, rp['first_node_id'])
201201
self.assertEqual(bfh('022ed557f5ad336b31a49857e4e9664954ac33385aa20a93e2d64bfe7f08f51277'), rp['first_path_key'])
202-
self.assertEqual(1, rp['num_hops'])
202+
self.assertEqual(b"\x01", rp['num_hops'])
203203
self.assertEqual([{
204204
'blinded_node_id': bfh('031e5d91e6c417f6e8c16d1086db1887edef7be9334f5e744d04edb8da7507481e'),
205205
'enclen': 20,

0 commit comments

Comments
 (0)