OSDN Git Service

Small edit (#241)
[bytom/vapor.git] / protocol / bc / types / block_witness_test.go
index 9dc53b9..11f74c3 100644 (file)
@@ -82,7 +82,7 @@ func TestBlockWitnessSet(t *testing.T) {
                        bw:    BlockWitness{Witness: [][]byte{[]byte{0x01, 0x02, 0x03, 0x04}, []byte{0x01, 0x02, 0x03, 0x04}}},
                        index: uint64(4),
                        data:  []byte{0x04, 0x04, 0x04, 0x04},
-                       want:  BlockWitness{Witness: [][]byte{[]byte{0x01, 0x02, 0x03, 0x04}, []byte{0x01, 0x02, 0x03, 0x04}, []byte{}, []byte{}, []byte{0x04, 0x04, 0x04, 0x04}}},
+                       want:  BlockWitness{Witness: [][]byte{[]byte{0x01, 0x02, 0x03, 0x04}, []byte{0x01, 0x02, 0x03, 0x04}, nil, nil, []byte{0x04, 0x04, 0x04, 0x04}}},
                },
        }