Skip to content

Commit e4613dc

Browse files
committed
add method to convert secret to pub key
1 parent 83bda02 commit e4613dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

x/lending/types/utils.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package types
33
import "github.com/btcsuite/btcd/btcec/v2"
44

55
// SecretToPubKey gets the serialized public key of the given secret on the secp256k1 curve
6-
// Assume that the secret is 256-bit bytes
76
func SecretToPubKey(secretBytes []byte) []byte {
87
var secret btcec.ModNScalar
98
_ = secret.SetByteSlice(secretBytes)

0 commit comments

Comments
 (0)