From e09fc00188c5d0a7983c48c149f4e2b072807d99 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 26 Feb 2024 22:17:16 +0300 Subject: [PATCH] rpcclient: fix address used in doc This one doesn't really work now, it's Legacy. Replace with something N3-ish. Thanks @lock9 for reporting. Signed-off-by: Roman Khimov --- pkg/rpcclient/doc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpcclient/doc_test.go b/pkg/rpcclient/doc_test.go index d0fbe3e63..9ee6fd094 100644 --- a/pkg/rpcclient/doc_test.go +++ b/pkg/rpcclient/doc_test.go @@ -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)