1
0

follow-up prev commit (variable rename)

This commit is contained in:
ThomasV
2023-10-09 12:19:23 +02:00
parent 455167136d
commit f6bebec0a5

View File

@@ -775,7 +775,7 @@ class SimpleConfig(Logger):
def setfeerate(self, fee_method: str, value: int):
if fee_method == 'mempool':
if fee_level not in FEE_DEPTH_TARGETS:
if value not in FEE_DEPTH_TARGETS:
raise Exception(f"Error: fee_level must be in {FEE_DEPTH_TARGETS}")
self.FEE_EST_USE_MEMPOOL = True
self.FEE_EST_DYNAMIC = True