diff --git a/jmdaemon/jmdaemon/daemon_protocol.py b/jmdaemon/jmdaemon/daemon_protocol.py index 037788d..0e502db 100644 --- a/jmdaemon/jmdaemon/daemon_protocol.py +++ b/jmdaemon/jmdaemon/daemon_protocol.py @@ -66,7 +66,7 @@ def check_utxo_blacklist(commitment, persist=False): If flagged, persist the usage of this commitment to the above file. """ #TODO format error checking? - fname = os.path.join(jm_single().datadir, "commitmentlist") + fname = "commitmentlist" if os.path.isfile(fname): with open(fname, "rb") as f: blacklisted_commitments = [x.decode('ascii').strip() for x in f.readlines()]