format code
This commit is contained in:
parent
ec36706d6c
commit
d47ce356df
1 changed files with 46 additions and 46 deletions
|
@ -1,12 +1,12 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"crypto/ed25519"
|
||||
"crypto/sha256"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/writeas/activityserve"
|
||||
"crypto/sha256"
|
||||
"crypto/ed25519"
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
"github.com/writeas/activityserve"
|
||||
// "crypto"
|
||||
)
|
||||
|
||||
|
@ -47,7 +47,7 @@ fmt.Println(hashActorRes)
|
|||
fmt.Println(proofValueStripped)
|
||||
err = ed25519.VerifyWithOptions(publicKeyDecoded32, hashActorRes, proofValueStripped, &ed25519.Options{
|
||||
Hash: 0,
|
||||
});
|
||||
})
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue