Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Sep 27, 2024
1 parent e528278 commit 96ac544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relayer/relays/beacon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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 {
Expand Down

0 comments on commit 96ac544

Please sign in to comment.