Add settable base dir

This commit is contained in:
nolash 2021-04-15 19:04:31 +02:00
parent 3cdf1bf6d9
commit 9d1f36549e
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -71,7 +71,7 @@ class GasPriceFilter(SyncFilter):
def main(): def main():
gas_store = RunStore() gas_store = RunStore(basedir=config.get('STORE_BASE_DIR'))
gas_aggregator = GasAggregator(gas_store, 360) gas_aggregator = GasAggregator(gas_store, 360)
gas_filter = GasPriceFilter(chain_spec, gas_aggregator) gas_filter = GasPriceFilter(chain_spec, gas_aggregator)