Commit 1cf8b15d authored by inphi's avatar inphi

fix integration tests

parent bcac3260
...@@ -179,9 +179,6 @@ func Start(config *Config) (func(), error) { ...@@ -179,9 +179,6 @@ func Start(config *Config) (func(), error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
if blockSyncRPCURL == "" {
return nil, fmt.Errorf("block sync node config is required for caching")
}
var cache Cache var cache Cache
if redisURL != "" { if redisURL != "" {
...@@ -193,7 +190,7 @@ func Start(config *Config) (func(), error) { ...@@ -193,7 +190,7 @@ func Start(config *Config) (func(), error) {
cache = newMemoryCache() cache = newMemoryCache()
} }
// Ideally, the BlocKSyncRPCURL should be the sequencer or a HA replica that's not far behind // Ideally, the BlocKSyncRPCURL should be the sequencer or a HA replica that's not far behind
ethClient, err := ethclient.Dial(config.Cache.BlockSyncRPCURL) ethClient, err := ethclient.Dial(blockSyncRPCURL)
if err != nil { if err != nil {
return nil, err return nil, 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