rpc/response: drop unused GetRawTx type
This commit is contained in:
parent
9591d64e53
commit
9187e2ab25
1 changed files with 0 additions and 8 deletions
|
@ -2,8 +2,6 @@ package response
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"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).
|
// 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"`
|
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
|
// 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
|
// special in that they look like requests but they don't have IDs and their
|
||||||
// "method" is actually an event name.
|
// "method" is actually an event name.
|
||||||
|
|
Loading…
Reference in a new issue