Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmin1 authored Apr 21, 2024
1 parent f3bdd1a commit bfc51b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpcclient/examples/bitcoincoreunixsocket/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ func main() {
// Connect to local bitcoin core RPC server using HTTP POST mode over a Unix Socket.
connCfg := &rpcclient.ConnConfig{
// The value passed doesn't matter as long as it's valid
// To avoid failures, functions relying on a host value still require one to be passed. If the client has a default host, it will be used as long as it's valid.
// To avoid failures, functions relying on a host value still require
// one to be passed. If the client has a default host, it will be used as long as it's valid.
Host: "localhost:8332",
UnixSocketPath: "/tmp/test.XXXX",
User: "yourrpcuser",
Expand Down

0 comments on commit bfc51b1

Please sign in to comment.