Skip to content

Commit

Permalink
remove test line
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Mar 20, 2024
1 parent ebf100a commit 0da2b16
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions relayer/relays/beacon/header/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"fmt"
"time"

"github.com/snowfork/go-substrate-rpc-client/v4/types"
"github.com/snowfork/snowbridge/relayer/chain/parachain"
"github.com/snowfork/snowbridge/relayer/relays/beacon/cache"
"github.com/snowfork/snowbridge/relayer/relays/beacon/config"
Expand Down Expand Up @@ -387,7 +386,6 @@ func (h *Header) populateCheckPointCacheWithDataFromChain(slot, checkpointSlot u
}

func (h *Header) getHeaderUpdateBySlot(slot uint64) (scale.HeaderUpdatePayload, error) {
slot = slot + 1
header, err := h.syncer.FindBeaconHeaderWithBlockIncluded(slot)
if err != nil {
return scale.HeaderUpdatePayload{}, fmt.Errorf("get next beacon header with block included: %w", err)
Expand Down

0 comments on commit 0da2b16

Please sign in to comment.