mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-22 07:06:14 +00:00
context: cleaning up context dead ends (#7963)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user