Merge pull request #3239 from nspcc-dev/ntr-doc-upd

rpcclient: improve documentation
This commit is contained in:
Roman Khimov 2023-11-28 20:25:08 +03:00 committed by GitHub
commit 76261f1605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()