test: Allow pathlib.Path as RPC argument via authproxy

Also, add datadir_path property to TestNode
This commit is contained in:
MarcoFalke committed 2023-06-21 08:48:52 +02:00
1 parent fa41614a0a
commit dddd89962b
4 files changed
+13 -10

No files matched your search

-6
View File
@@ -211,12 +211,6 @@ def check_json_precision():
raise RuntimeError("JSON encode/decode loses precision")
def EncodeDecimal(o):
if isinstance(o, Decimal):
return str(o)
raise TypeError(repr(o) + " is not JSON serializable")
def count_bytes(hex_string):
return len(bytearray.fromhex(hex_string))