Skip to content

Commit

Permalink
in place changes
Browse files Browse the repository at this point in the history
  • Loading branch information
iceland2k14 authored May 22, 2022
1 parent 6f88e5e commit 691e238
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions secp256k1.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,11 +694,9 @@ def prepare_bin_file_work(in_file, out_file, lower = False):

with open(out_file, 'wb') as f:
if use0x:
tmp_list = [line[2:] for line in inp_list]
else:
tmp_list = inp_list
tmp_list.sort()
for line in tmp_list:
inp_list = [line[2:] for line in inp_list]
inp_list.sort()
for line in inp_list:
f.write(bytes.fromhex(line))
#==============================================================================
def prepare_bin_file(in_file, out_file, overwrite = False, lower = False):
Expand Down

0 comments on commit 691e238

Please sign in to comment.