OSDN Git Service

modify ci
[bytom/vapor.git] / protocol / block_test.go
index f028bbd..eae3d8f 100644 (file)
@@ -23,7 +23,6 @@ func TestCalcReorganizeNodes(t *testing.T) {
        mainChainNode := initNode
        for i := 1; i <= 7; i++ {
                header.Height = uint64(i)
-               header.Nonce = 0
                mainChainNode, err = state.NewBlockNode(&header, mainChainNode)
                if err != nil {
                        t.Fatal(err)
@@ -37,7 +36,6 @@ func TestCalcReorganizeNodes(t *testing.T) {
        sideChainNode := initNode
        for i := 1; i <= 13; i++ {
                header.Height = uint64(i)
-               header.Nonce = 1
                sideChainNode, err = state.NewBlockNode(&header, sideChainNode)
                if err != nil {
                        t.Fatal(err)