mirror of
https://github.com/arnaucube/go-blindsecp256k1.git
synced 2026-02-07 03:26:40 +01:00
Add checks to inputs at Blind & BlindSign
This commit is contained in:
@@ -159,7 +159,10 @@ func blind(this js.Value, values []js.Value) interface{} {
|
||||
Y: signerRy,
|
||||
}
|
||||
|
||||
mBlinded, user := blindsecp256k1.Blind(m, signerR)
|
||||
mBlinded, user, err := blindsecp256k1.Blind(m, signerR)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
r := make(map[string]interface{})
|
||||
r["mBlinded"] = mBlinded.String()
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user