From 9187e2ab25ba501156f14c8c2f4658e98d1a8c61 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 31 Aug 2020 18:19:51 +0300 Subject: [PATCH] rpc/response: drop unused GetRawTx type --- pkg/rpc/response/types.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/rpc/response/types.go b/pkg/rpc/response/types.go index 23e6368d2..136082768 100644 --- a/pkg/rpc/response/types.go +++ b/pkg/rpc/response/types.go @@ -2,8 +2,6 @@ package response import ( "encoding/json" - - "github.com/nspcc-dev/neo-go/pkg/rpc/response/result" ) // Header is a generic JSON-RPC 2.0 response header (ID and JSON-RPC version). @@ -26,12 +24,6 @@ type Raw struct { Result json.RawMessage `json:"result,omitempty"` } -// GetRawTx represents verbose output of `getrawtransaction` RPC call. -type GetRawTx struct { - HeaderAndError - Result *result.TransactionOutputRaw `json:"result"` -} - // Notification is a type used to represent wire format of events, they're // special in that they look like requests but they don't have IDs and their // "method" is actually an event name.