chore: do not loose stuff

This commit is contained in:
Vlad Stan
2022-10-10 13:06:11 +03:00
parent f2c43ba51b
commit 13a46c1ebe
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ async function step1Bob(secretMessage) {
)
const P = nobleSecp256k1.Point.fromPrivateKey(randomBlindingFactor)
const B_ = Y.add(P)
return {B_, randomBlindingFactor}
return {B_: B_.toHex(true), randomBlindingFactor}
}
function step3Bob(C_, r, A) {