Skip to content

Commit be3d2e4

Browse files
authored
Merge pull request #1897 from Galoretka/rawe
BIP69: fix function name typo in example code
2 parents 83ac842 + 504c843 commit be3d2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0069/bip-0069_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def output_cmp(output_tuple1, output_tuple2):
4949
elif (output_tuple1[0] > output_tuple2[0]):
5050
return 1
5151
#tie-breaker: scriptPubKey_byte_arr
52-
return bytearray_cmp(output_tuple1[1], output_tuple2[1])
52+
return bytearr_cmp(output_tuple1[1], output_tuple2[1])
5353

5454
def sort_outputs(output_tuples):
5555
return sorted(output_tuples, cmp=output_cmp)

0 commit comments

Comments
 (0)