This commit is contained in:
doesnm 2024-08-18 15:24:34 +03:00
parent 5a37f8db1f
commit ec36706d6c
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,3 +1,2 @@
*.snip *.snip
storage storage
verify.go

View file

@ -9,6 +9,7 @@ import (
"github.com/btcsuite/btcutil/base58" "github.com/btcsuite/btcutil/base58"
//"crypto" //"crypto"
) )
func main(){ func main(){
actor, err := activityserve.LoadActor("ED4xVR2hw6frfBNFJataKYZn58WnaotS8d8WKg4H5rfC") actor, err := activityserve.LoadActor("ED4xVR2hw6frfBNFJataKYZn58WnaotS8d8WKg4H5rfC")
if err != nil { if err != nil {
@ -50,4 +51,4 @@ err = ed25519.VerifyWithOptions(publicKeyDecoded32, hashActorRes, proofValueStri
if err != nil { if err != nil {
fmt.Println(err) fmt.Println(err)
} }
} }