rpcclient: fix documentation typo

This commit is contained in:
Jake Sylvestre 2021-04-13 09:02:41 -04:00 committed by Roy Lee
parent 46c53fa346
commit 5f18190000

View file

@ -90,7 +90,7 @@ func (c *Client) NodeAsync(command btcjson.NodeSubCmd, host string,
// connect or diconnect a non-persistent one. // connect or diconnect a non-persistent one.
// //
// The connectSubCmd should be set either "perm" or "temp", depending on // The connectSubCmd should be set either "perm" or "temp", depending on
// whether we are targetting a persistent or non-persistent peer. Passing nil // whether we are targeting a persistent or non-persistent peer. Passing nil
// will cause the default value to be used, which currently is "temp". // will cause the default value to be used, which currently is "temp".
func (c *Client) Node(command btcjson.NodeSubCmd, host string, func (c *Client) Node(command btcjson.NodeSubCmd, host string,
connectSubCmd *string) error { connectSubCmd *string) error {