@@ -139,15 +139,15 @@ def test_base58encodedecode(self):
139
139
def check_base58 (data , version ):
140
140
self .assertEqual (base58_to_byte (byte_to_base58 (data , version )), (data , version ))
141
141
142
- check_base58 (b' \x1f \x8e \xa1 p*{ \xd4 \x94 \x1b \xca \t A \xb8 R \xc4 \xbb \xfe \xdb . \x05 ' , 111 )
143
- check_base58 (b': \x0b \x05 \xf4 \xd7 \xf6 l; \xa7 \x00 \x9f E50)l \x84 \\ \xc9 \xcf ' , 111 )
144
- check_base58 (b'A \xc1 \xea \xf1 \x11 \x80 %Y \xba \xd6 \x1b ` \xd6 + \x1f \x89 |c \x92 \x8a ' , 111 )
145
- check_base58 (b' \0 A \xc1 \xea \xf1 \x11 \x80 %Y \xba \xd6 \x1b ` \xd6 + \x1f \x89 |c \x92 \x8a ' , 111 )
146
- check_base58 (b' \0 \0 A \xc1 \xea \xf1 \x11 \x80 %Y \xba \xd6 \x1b ` \xd6 + \x1f \x89 |c \x92 \x8a ' , 111 )
147
- check_base58 (b' \0 \0 \0 A \xc1 \xea \xf1 \x11 \x80 %Y \xba \xd6 \x1b ` \xd6 + \x1f \x89 |c \x92 \x8a ' , 111 )
148
- check_base58 (b' \x1f \x8e \xa1 p*{ \xd4 \x94 \x1b \xca \t A \xb8 R \xc4 \xbb \xfe \xdb . \x05 ' , 0 )
149
- check_base58 (b': \x0b \x05 \xf4 \xd7 \xf6 l; \xa7 \x00 \x9f E50)l \x84 \\ \xc9 \xcf ' , 0 )
150
- check_base58 (b'A \xc1 \xea \xf1 \x11 \x80 %Y \xba \xd6 \x1b ` \xd6 + \x1f \x89 |c \x92 \x8a ' , 0 )
151
- check_base58 (b' \0 A \xc1 \xea \xf1 \x11 \x80 %Y \xba \xd6 \x1b ` \xd6 + \x1f \x89 |c \x92 \x8a ' , 0 )
152
- check_base58 (b' \0 \0 A \xc1 \xea \xf1 \x11 \x80 %Y \xba \xd6 \x1b ` \xd6 + \x1f \x89 |c \x92 \x8a ' , 0 )
153
- check_base58 (b' \0 \0 \0 A \xc1 \xea \xf1 \x11 \x80 %Y \xba \xd6 \x1b ` \xd6 + \x1f \x89 |c \x92 \x8a ' , 0 )
142
+ check_base58 (bytes . fromhex ( '1f8ea1702a7bd4941bca0941b852c4bbfedb2e05' ) , 111 )
143
+ check_base58 (bytes . fromhex ( '3a0b05f4d7f66c3ba7009f453530296c845cc9cf' ) , 111 )
144
+ check_base58 (bytes . fromhex ( '41c1eaf111802559bad61b60d62b1f897c63928a' ) , 111 )
145
+ check_base58 (bytes . fromhex ( '0041c1eaf111802559bad61b60d62b1f897c63928a' ) , 111 )
146
+ check_base58 (bytes . fromhex ( '000041c1eaf111802559bad61b60d62b1f897c63928a' ) , 111 )
147
+ check_base58 (bytes . fromhex ( '00000041c1eaf111802559bad61b60d62b1f897c63928a' ) , 111 )
148
+ check_base58 (bytes . fromhex ( '1f8ea1702a7bd4941bca0941b852c4bbfedb2e05' ) , 0 )
149
+ check_base58 (bytes . fromhex ( '3a0b05f4d7f66c3ba7009f453530296c845cc9cf' ) , 0 )
150
+ check_base58 (bytes . fromhex ( '41c1eaf111802559bad61b60d62b1f897c63928a' ) , 0 )
151
+ check_base58 (bytes . fromhex ( '0041c1eaf111802559bad61b60d62b1f897c63928a' ) , 0 )
152
+ check_base58 (bytes . fromhex ( '000041c1eaf111802559bad61b60d62b1f897c63928a' ) , 0 )
153
+ check_base58 (bytes . fromhex ( '00000041c1eaf111802559bad61b60d62b1f897c63928a' ) , 0 )
0 commit comments