Modify doco and example for btcwallet ws endpoint.

This commit is contained in:
Josh Rickmar 2014-06-12 13:00:42 -05:00
parent 4ac778d72a
commit 28c0a3c8c7
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ func main() {
}
connCfg := &btcrpcclient.ConnConfig{
Host: "localhost:18332",
Endpoint: "frontend",
Endpoint: "ws",
User: "yourrpcuser",
Pass: "yourrpcpass",
Certificates: certs,

View file

@ -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.