Skip to content

Commit

Permalink
prog
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Jul 10, 2023
1 parent 54f83ae commit 14dc680
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sync/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func TestSync_InvalidSyncTarget(t *testing.T) {
local.NewExchange[*headertest.DummyHeader](remoteStore),
localStore,
headertest.NewDummySubscriber(),
WithTrustingPeriod(time.Nanosecond),
WithTrustingPeriod(time.Second),
WithBlockTime(time.Nanosecond),
)
require.NoError(t, err)
Expand Down Expand Up @@ -363,7 +363,6 @@ func TestSync_InvalidSyncTarget(t *testing.T) {

syncHead, err := syncer.Head(ctx)

Check failure on line 364 in sync/sync_test.go

View workflow job for this annotation

GitHub Actions / build

syncHead declared but not used
require.NoError(t, err)
t.Log("SYNC HEAD: ", syncHead.Height())

require.Equal(t, expectedHead.Height(), gotHead.Height())
}
Expand Down

0 comments on commit 14dc680

Please sign in to comment.