rpc/response: drop unused GetRawTx type

This commit is contained in:
Roman Khimov 2020-08-31 18:19:51 +03:00
parent 9591d64e53
commit 9187e2ab25

View file

@ -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.