Fix function name typo: use bytearr_cmp instead of bytearray_cmp

This commit is contained in:
Galoretka
2025-07-16 21:35:15 +03:00
committed by GitHub
parent 83ac8427e7
commit 504c8439ce

View File

@@ -49,7 +49,7 @@ def output_cmp(output_tuple1, output_tuple2):
elif (output_tuple1[0] > output_tuple2[0]):
return 1
#tie-breaker: scriptPubKey_byte_arr
return bytearray_cmp(output_tuple1[1], output_tuple2[1])
return bytearr_cmp(output_tuple1[1], output_tuple2[1])
def sort_outputs(output_tuples):
return sorted(output_tuples, cmp=output_cmp)