mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-03-05 00:28:51 +00:00
Modify doco and example for btcwallet ws endpoint.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user