From 21b0303341865fea274e53557af44e2f21ec5f81 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 6 Jul 2018 15:47:15 -0700 Subject: [PATCH] wire: remove instances of the extended gcs filter --- wire/message_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wire/message_test.go b/wire/message_test.go index a174c49a..3a422e66 100644 --- a/wire/message_test.go +++ b/wire/message_test.go @@ -69,13 +69,13 @@ func TestMessage(t *testing.T) { bh := NewBlockHeader(1, &chainhash.Hash{}, &chainhash.Hash{}, 0, 0) msgMerkleBlock := NewMsgMerkleBlock(bh) msgReject := NewMsgReject("block", RejectDuplicate, "duplicate block") - msgGetCFilters := NewMsgGetCFilters(GCSFilterExtended, 0, &chainhash.Hash{}) - msgGetCFHeaders := NewMsgGetCFHeaders(GCSFilterExtended, 0, &chainhash.Hash{}) - msgGetCFCheckpt := NewMsgGetCFCheckpt(GCSFilterExtended, &chainhash.Hash{}) - msgCFilter := NewMsgCFilter(GCSFilterExtended, &chainhash.Hash{}, + msgGetCFilters := NewMsgGetCFilters(GCSFilterRegular, 0, &chainhash.Hash{}) + msgGetCFHeaders := NewMsgGetCFHeaders(GCSFilterRegular, 0, &chainhash.Hash{}) + msgGetCFCheckpt := NewMsgGetCFCheckpt(GCSFilterRegular, &chainhash.Hash{}) + msgCFilter := NewMsgCFilter(GCSFilterRegular, &chainhash.Hash{}, []byte("payload")) msgCFHeaders := NewMsgCFHeaders() - msgCFCheckpt := NewMsgCFCheckpt(GCSFilterExtended, &chainhash.Hash{}, 0) + msgCFCheckpt := NewMsgCFCheckpt(GCSFilterRegular, &chainhash.Hash{}, 0) tests := []struct { in Message // Value to encode