Browse Source

pull

feature/serveapicli
arnaubennassar 3 years ago
parent
commit
eed635539f
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      node/node.go

+ 4
- 4
node/node.go

@ -500,10 +500,10 @@ func NewAPIServer(mode Mode, cfg *config.APIServer) (*APIServer, error) {
if mode == ModeCoordinator { if mode == ModeCoordinator {
l2DB = l2db.NewL2DB( l2DB = l2db.NewL2DB(
dbRead, dbWrite, dbRead, dbWrite,
cfg.L2DB.SafetyPeriod,
cfg.L2DB.MaxTxs,
cfg.L2DB.MinFeeUSD,
cfg.L2DB,
cfg.Coordinator.L2DB.SafetyPeriod,
cfg.Coordinator.L2DB.MaxTxs,
cfg.Coordinator.L2DB.MinFeeUSD,
cfg.Coordinator.L2DB.TTL.Duration,
apiConnCon, apiConnCon,
) )
} }

Loading…
Cancel
Save