context: cleaning up context dead ends (#7963)

This commit is contained in:
Sam Kleinman
2022-02-22 20:04:16 +00:00
committed by GitHub
parent 912751cf93
commit 2ffb262600
9 changed files with 15 additions and 17 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ func startLightNode(ctx context.Context, cfg *Config) error {
providers := rpcEndpoints(tmcfg.P2P.PersistentPeers)
c, err := light.NewHTTPClient(
context.Background(),
ctx,
cfg.ChainID,
light.TrustOptions{
Period: tmcfg.StateSync.TrustPeriod,