Skip to content

Commit

Permalink
fixup! fix(drand): add null HistoricalBeaconClient for old beacons
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Jan 20, 2025
1 parent 5ed9f6c commit d94a9c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions chain/beacon/drand/drand.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package drand
import (
"bytes"
"context"
"fmt"
"time"

dchain "github.com/drand/drand/chain"
Expand Down Expand Up @@ -249,7 +248,6 @@ func BeaconScheduleFromDrandSchedule(dcs dtypes.DrandSchedule, genesisTime uint6
for i, dc := range dcs {
bc, err := NewDrandBeacon(genesisTime, buildconstants.BlockDelaySecs, ps, dc.Config)
if err != nil {
fmt.Printf("failed to create drand beacon: %+v\n", dc)
return nil, xerrors.Errorf("%d creating drand beacon: %w", i, err)
}
shd = append(shd, beacon.BeaconPoint{Start: dc.Start, Beacon: bc})
Expand Down

0 comments on commit d94a9c9

Please sign in to comment.