mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 19:42:23 +00:00
Merge pull request #3239 from nspcc-dev/ntr-doc-upd
rpcclient: improve documentation
This commit is contained in:
commit
76261f1605
1 changed files with 1 additions and 0 deletions
|
@ -843,6 +843,7 @@ func (c *Client) SubmitRawOracleResponse(ps []any) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// SubmitP2PNotaryRequest submits given P2PNotaryRequest payload to the RPC node.
|
// SubmitP2PNotaryRequest submits given P2PNotaryRequest payload to the RPC node.
|
||||||
|
// It returns fallback transaction hash.
|
||||||
func (c *Client) SubmitP2PNotaryRequest(req *payload.P2PNotaryRequest) (util.Uint256, error) {
|
func (c *Client) SubmitP2PNotaryRequest(req *payload.P2PNotaryRequest) (util.Uint256, error) {
|
||||||
var resp = new(result.RelayResult)
|
var resp = new(result.RelayResult)
|
||||||
bytes, err := req.Bytes()
|
bytes, err := req.Bytes()
|
||||||
|
|
Loading…
Reference in a new issue