From c69fe513f9d6beeef0cad10412e3aa804ba3fe28 Mon Sep 17 00:00:00 2001 From: jolan Date: Thu, 21 Apr 2016 17:11:13 -0500 Subject: [PATCH] use decred mainnet ports in examples --- examples/dcrdwebsockets/main.go | 2 +- examples/dcrwalletwebsockets/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/dcrdwebsockets/main.go b/examples/dcrdwebsockets/main.go index 4f87e22..6983f69 100644 --- a/examples/dcrdwebsockets/main.go +++ b/examples/dcrdwebsockets/main.go @@ -37,7 +37,7 @@ func main() { log.Fatal(err) } connCfg := &dcrrpcclient.ConnConfig{ - Host: "localhost:8334", + Host: "localhost:9109", Endpoint: "ws", User: "yourrpcuser", Pass: "yourrpcpass", diff --git a/examples/dcrwalletwebsockets/main.go b/examples/dcrwalletwebsockets/main.go index 2c30b0f..e96904e 100644 --- a/examples/dcrwalletwebsockets/main.go +++ b/examples/dcrwalletwebsockets/main.go @@ -35,7 +35,7 @@ func main() { log.Fatal(err) } connCfg := &dcrrpcclient.ConnConfig{ - Host: "localhost:18332", + Host: "localhost:9110", Endpoint: "ws", User: "yourrpcuser", Pass: "yourrpcpass",