Fix mock server

This commit is contained in:
arnaubennassar
2021-03-24 09:12:14 +01:00
parent 378ba669b6
commit 714530e164
7 changed files with 90 additions and 15 deletions

View File

@@ -145,3 +145,11 @@ Coordinator = true
BatchPath = "/tmp/iden3-test/hermez/batchesdebug"
LightScrypt = true
# RollupVerifierIndex = 0
[RecommendedFeePolicy]
# Strategy used to calculate the recommended fee that the API will expose.
# Available options:
# - Static: always return the same value (StaticValue) in USD
# - AvgLastHour: calculate using the average fee of the forged transactions during the last hour
PolicyType = "Static"
StaticValue = 0.99

View File

@@ -365,6 +365,7 @@ func getConfig(c *cli.Context) (*Config, error) {
}
case modeCoord:
cfg.mode = node.ModeCoordinator
fmt.Println("LOADING CFG")
cfg.node, err = config.LoadNode(nodeCfgPath, true)
if err != nil {
return nil, tracerr.Wrap(err)