Skip to content

Commit

Permalink
eth/downloader:fix skeleton text
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-wjhan committed Nov 29, 2022
1 parent 704b4cf commit 11ccf68
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eth/downloader/skeleton_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/eth/protocols/eth"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/params"
)

// hookedBackfiller is a tester backfiller with all interface methods mocked and
Expand Down Expand Up @@ -398,6 +399,11 @@ func TestSkeletonSyncInit(t *testing.T) {
// Tests that a running skeleton sync can be extended with properly linked up
// headers but not with side chains.
func TestSkeletonSyncExtend(t *testing.T) {
if params.ConsensusMethod == params.ConsensusPoW {
// wemix: not applicable
return
}

// Create a few key headers
var (
genesis = &types.Header{Number: big.NewInt(0)}
Expand Down

0 comments on commit 11ccf68

Please sign in to comment.