Browse Source

Revert "Move commitmentlist to datadir"

This reverts commit 34944a0daf.
master
Kristaps Kaupe 6 years ago
parent
commit
5f1936679f
No known key found for this signature in database
GPG Key ID: D47B1B4232B55437
  1. 2
      jmdaemon/jmdaemon/daemon_protocol.py

2
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()]

Loading…
Cancel
Save