Modify doco and example for btcwallet ws endpoint.
This commit is contained in:
parent
4ac778d72a
commit
28c0a3c8c7
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ func main() {
|
|||
}
|
||||
connCfg := &btcrpcclient.ConnConfig{
|
||||
Host: "localhost:18332",
|
||||
Endpoint: "frontend",
|
||||
Endpoint: "ws",
|
||||
User: "yourrpcuser",
|
||||
Pass: "yourrpcpass",
|
||||
Certificates: certs,
|
||||
|
|
|
@ -896,7 +896,7 @@ type ConnConfig struct {
|
|||
Host string
|
||||
|
||||
// Endpoint is the websocket endpoint on the RPC server. This is
|
||||
// typically "ws" or "frontend".
|
||||
// typically "ws".
|
||||
Endpoint string
|
||||
|
||||
// User is the username to use to authenticate to the RPC server.
|
||||
|
|
Loading…
Reference in a new issue