X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=protocol%2Fbc%2Ftypes%2Fblock_witness_test.go;h=11f74c3d9d0450e28a26bcb154a2cdd0fb7b3809;hp=9dc53b94c4a50ab1808d89327b403d1434d85ae5;hb=f30b7541256e6a7f6f875994cb08edf3bddab93c;hpb=94ffe408f68d354070374ef01b5c1578b79d2cd9 diff --git a/protocol/bc/types/block_witness_test.go b/protocol/bc/types/block_witness_test.go index 9dc53b94..11f74c3d 100644 --- a/protocol/bc/types/block_witness_test.go +++ b/protocol/bc/types/block_witness_test.go @@ -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}}}, }, }