From 96ac54409d7af1ac2c480b1ade510204a57e86a9 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Fri, 27 Sep 2024 11:23:59 +0200 Subject: [PATCH] fix compilation --- relayer/relays/beacon/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relayer/relays/beacon/main.go b/relayer/relays/beacon/main.go index 58b46d8688..1e6c1937c8 100644 --- a/relayer/relays/beacon/main.go +++ b/relayer/relays/beacon/main.go @@ -37,7 +37,7 @@ func (r *Relay) Start(ctx context.Context, eg *errgroup.Group) error { paraconn := parachain.NewConnection(r.config.Sink.Parachain.Endpoint, r.keypair.AsKeyringPair()) - err := paraconn.ConnectWithHeartBeat(ctx, 60 * time.Second) + err := paraconn.ConnectWithHeartBeat(ctx, 60*time.Second) if err != nil { return err } @@ -47,7 +47,7 @@ func (r *Relay) Start(ctx context.Context, eg *errgroup.Group) error { r.config.Sink.Parachain.MaxWatchedExtrinsics, ) - p := protocol.New(specSettings) + p := protocol.New(specSettings, r.config.Sink.Parachain.HeaderRedundancy) err = writer.Start(ctx, eg) if err != nil {