diff --git a/_pkg.dev/wire/payload/mgetdata.go b/_pkg.dev/wire/payload/mgetdata.go deleted file mode 100644 index 23f2523ff..000000000 --- a/_pkg.dev/wire/payload/mgetdata.go +++ /dev/null @@ -1,18 +0,0 @@ -package payload - -import ( - "github.com/CityOfZion/neo-go/pkg/wire/command" -) - -// GetDataMessage represents a GetData message on the neo-network -type GetDataMessage struct { - *InvMessage -} - -//NewGetDataMessage returns a GetDataMessage object -func NewGetDataMessage(typ InvType) (*GetDataMessage, error) { - getData, err := newAbstractInv(typ, command.GetData) - return &GetDataMessage{ - getData, - }, err -} diff --git a/_pkg.dev/wire/payload/mgetdata_test.go b/_pkg.dev/wire/payload/mgetdata_test.go deleted file mode 100644 index 44c4918b4..000000000 --- a/_pkg.dev/wire/payload/mgetdata_test.go +++ /dev/null @@ -1,19 +0,0 @@ -package payload - -import ( - "testing" - - "github.com/CityOfZion/neo-go/pkg/wire/command" - "github.com/stretchr/testify/assert" -) - -func TestGetDataCommandType(t *testing.T) { - getData, err := NewGetDataMessage(InvTypeBlock) - - assert.Equal(t, err, nil) - assert.Equal(t, command.GetData, getData.Command()) -} - -func TestOtherFunctions(t *testing.T) { - // Other capabilities are tested in the inherited struct -}