File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 4
4
BIN = os .path .join (LN , "bin" )
5
5
DATA = os .path .join (LN , "data" )
6
6
FEE_ESTIMATIONS_DIR = os .path .join (LN , "data" , "fee-estimations" )
7
+ CACHES_DIR = os .path .join (DATA , "caches" )
7
8
8
9
CLIGHTNING_CONF_PATH = os .path .join (LN , "conf/clightning.conf" )
9
10
LND_CONF_PATH = os .path .join (LN , "conf/lnd.conf" )
Original file line number Diff line number Diff line change 12
12
import plyvel
13
13
14
14
from datatypes import Json
15
+ from paths import CACHES_DIR
15
16
16
17
17
18
def print_json (o : Json ):
@@ -93,9 +94,6 @@ def setup_logging(
93
94
return logger
94
95
95
96
96
- CACHES_DIR = os .path .join (os .path .expandvars ("$LN" ), "data" , "caches" )
97
-
98
-
99
97
def get_db_str_key (* args , ** kwargs ) -> str :
100
98
"""
101
99
this methods return a string representation of its arguments.
You can’t perform that action at this time.
0 commit comments