Skip to content

Commit

Permalink
Merge pull request #3327 from nspcc-dev/fix-rpcclient-doc
Browse files Browse the repository at this point in the history
rpcclient: fix address used in doc
  • Loading branch information
AnnaShaleva authored Feb 27, 2024
2 parents be17924 + 9d32584 commit e55809f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/rpcclient/doc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func Example() {
endpoint := "http://seed5.bridgeprotocol.io:10332"
endpoint := "https://rpc.t5.n3.nspcc.ru:20331"
opts := rpcclient.Options{}

c, err := rpcclient.New(context.TODO(), endpoint, opts)
Expand All @@ -30,7 +30,7 @@ func Example() {
os.Exit(1)
}

addr, err := address.StringToUint160("ATySFJAbLW7QHsZGHScLhxq6EyNBxx3eFP")
addr, err := address.StringToUint160("NUkaBmzsZq1qdgaHfKrtRUcHNhtVJ2hTpv")
if err != nil {
fmt.Println(err)
os.Exit(1)
Expand Down

0 comments on commit e55809f

Please sign in to comment.