Commit 83a5ca91 authored by Hamdi Allam's avatar Hamdi Allam

fix unit test

parent ac906b65
...@@ -98,9 +98,7 @@ func Test_L1ETL_Construction(t *testing.T) { ...@@ -98,9 +98,7 @@ func Test_L1ETL_Construction(t *testing.T) {
ts := test.construction() ts := test.construction()
logger := log.NewLogger(log.DefaultCLIConfig()) logger := log.NewLogger(log.DefaultCLIConfig())
cfg := &Config{ cfg := Config{StartHeight: ts.start}
StartHeight: ts.start,
}
etl, err := NewL1ETL(cfg, logger, ts.db.DB, ts.client, ts.contracts) etl, err := NewL1ETL(cfg, logger, ts.db.DB, ts.client, ts.contracts)
test.assertion(etl, err) test.assertion(etl, err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment