Clean up code from upstream we dont use
This commit is contained in:
parent
6ed23daf6f
commit
785c3abf05
|
@ -38,9 +38,6 @@ def check_json_precision():
|
||||||
if satoshis != 2000000000000003:
|
if satoshis != 2000000000000003:
|
||||||
raise RuntimeError("JSON encode/decode loses precision")
|
raise RuntimeError("JSON encode/decode loses precision")
|
||||||
|
|
||||||
def count_bytes(hex_string):
|
|
||||||
return len(bytearray.fromhex(hex_string))
|
|
||||||
|
|
||||||
def bytes_to_hex_str(byte_str):
|
def bytes_to_hex_str(byte_str):
|
||||||
return hexlify(byte_str).decode('ascii')
|
return hexlify(byte_str).decode('ascii')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue