use a different index bucket name in regtest mode

This commit is contained in:
Jude Nelson
2017-07-04 23:31:18 -04:00
parent f39a0118b8
commit e22457949b

View File

@@ -58,7 +58,10 @@ INDEX_DIRNAME = "index"
DVCONF = None
BLOCKSTACK_DEBUG = (os.environ.get("BLOCKSTACK_DEBUG") == "1")
BLOCKSTACK_TEST = (os.environ.get("BLOCKSTACK_TEST") == "1")
if BLOCKSTACK_TEST:
INDEX_DIRNAME = "index-regtest"
def dropbox_url_reformat(url):
"""