rpcclient: use better RPC endpoint for example

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
Roman Khimov 2024-02-26 23:18:32 +03:00
parent e09fc00188
commit 9d3258495f

View file

@ -10,7 +10,7 @@ import (
) )
func Example() { func Example() {
endpoint := "http://seed5.bridgeprotocol.io:10332" endpoint := "https://rpc.t5.n3.nspcc.ru:20331"
opts := rpcclient.Options{} opts := rpcclient.Options{}
c, err := rpcclient.New(context.TODO(), endpoint, opts) c, err := rpcclient.New(context.TODO(), endpoint, opts)