Clean up code from upstream we dont use

This commit is contained in:
mdr0id 2019-12-05 16:07:09 -08:00
parent 6ed23daf6f
commit 785c3abf05
1 changed files with 0 additions and 3 deletions

View File

@ -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')