File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818bchr = chr
1919bord = ord
2020if sys .version > '3' :
21- long = int
22- bchr = lambda x : bytes ([x ])
23- bord = lambda x : x
21+ long = int
22+ bchr = lambda x : bytes ([x ])
23+ bord = lambda x : x
2424
2525import binascii
2626
Original file line number Diff line number Diff line change 3535CADDR_TIME_VERSION = 31402
3636
3737def MoneyRange (nValue ):
38- return 0 <= nValue <= MAX_MONEY
38+ return 0 <= nValue <= MAX_MONEY
3939
4040def py2_x (h ):
4141 """Convert a hex string to bytes"""
Original file line number Diff line number Diff line change 2121bchr = chr
2222bord = ord
2323if sys .version > '3' :
24- long = int
25- bchr = lambda x : bytes ([x ])
26- bord = lambda x : x
24+ long = int
25+ bchr = lambda x : bytes ([x ])
26+ bord = lambda x : x
2727
2828import copy
2929import struct
Original file line number Diff line number Diff line change 2121bchr = chr
2222bord = ord
2323if sys .version > '3' :
24- bchr = lambda x : bytes ([x ])
25- bord = lambda x : x
24+ bchr = lambda x : bytes ([x ])
25+ bord = lambda x : x
2626
2727import bitcoin
2828import bitcoin .base58
You can’t perform that action at this time.
0 commit comments