Skip to content

Commit d4e3b78

Browse files
author
neocogent
committed
fix EC flag message
1 parent 38aa168 commit d4e3b78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/bip38scanx

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ if __name__ == '__main__':
109109
sys.exit(0)
110110

111111
hexkey = "0"+b58hex(sys.argv[2])
112-
if hexkey[0:2] != '0142':
113-
sys.exit('BIP38 Third-party key (EC Multiply flag) not supported.')
112+
if hexkey[0:4] != '0142':
113+
sys.exit('BIP38 Third-party key (EC Multiply flag: %s) not supported.' % hexkey[0:4])
114114

115115
with open(sys.argv[1]) as f:
116116
tokens = f.read()

0 commit comments

Comments
 (0)