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
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"crypto/ed25519"
|
||||||
|
"crypto/sha256"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/writeas/activityserve"
|
|
||||||
"crypto/sha256"
|
|
||||||
"crypto/ed25519"
|
|
||||||
"github.com/btcsuite/btcutil/base58"
|
"github.com/btcsuite/btcutil/base58"
|
||||||
|
"github.com/writeas/activityserve"
|
||||||
// "crypto"
|
// "crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ fmt.Println(hashActorRes)
|
||||||
fmt.Println(proofValueStripped)
|
fmt.Println(proofValueStripped)
|
||||||
err = ed25519.VerifyWithOptions(publicKeyDecoded32, hashActorRes, proofValueStripped, &ed25519.Options{
|
err = ed25519.VerifyWithOptions(publicKeyDecoded32, hashActorRes, proofValueStripped, &ed25519.Options{
|
||||||
Hash: 0,
|
Hash: 0,
|
||||||
});
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue