We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83bda02 commit e4613dcCopy full SHA for e4613dc
x/lending/types/utils.go
@@ -3,7 +3,6 @@ package types
3
import "github.com/btcsuite/btcd/btcec/v2"
4
5
// SecretToPubKey gets the serialized public key of the given secret on the secp256k1 curve
6
-// Assume that the secret is 256-bit bytes
7
func SecretToPubKey(secretBytes []byte) []byte {
8
var secret btcec.ModNScalar
9
_ = secret.SetByteSlice(secretBytes)
0 commit comments