diff --git a/txscript/example_test.go b/txscript/example_test.go index 9a2b49ef6..10afa447b 100644 --- a/txscript/example_test.go +++ b/txscript/example_test.go @@ -24,7 +24,7 @@ func ExamplePayToAddrScript() { // which is useful to ensure the accuracy of the address and determine // the address type. It is also required for the upcoming call to // PayToAddrScript. - addressStr := "12gpXQVcCL2qhTNQgyLVdCFG2Qs2px98nV" + addressStr := "dagcoin:qqfgqp8l9l90zwetj84k2jcac2m8falvvy9uastr55" address, err := btcutil.DecodeAddress(addressStr, &chaincfg.MainNetParams) if err != nil { fmt.Println(err) @@ -75,7 +75,7 @@ func ExampleExtractPkScriptAddrs() { // Output: // Script Class: pubkeyhash - // Addresses: [12gpXQVcCL2qhTNQgyLVdCFG2Qs2px98nV] + // Addresses: [dagcoin:qqfgqp8l9l90zwetj84k2jcac2m8falvvy9uastr55] // Required Signatures: 1 }