light: remove max retry attempts from client and add to provider (#6054)

This commit is contained in:
Callum Waters
2021-02-05 18:01:34 +01:00
committed by GitHub
parent c4c47f2e7a
commit b9b55db4e5
6 changed files with 28 additions and 31 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func NewLightClientStateProvider(
}
lc, err := light.NewClient(ctx, chainID, trustOptions, providers[0], providers[1:],
lightdb.New(dbm.NewMemDB()), light.Logger(logger), light.MaxRetryAttempts(5))
lightdb.New(dbm.NewMemDB()), light.Logger(logger))
if err != nil {
return nil, err
}