parent
256dd5198c
commit
69ce5917f6
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@
|
||||||
},
|
},
|
||||||
sign: function(privKey, message) {
|
sign: function(privKey, message) {
|
||||||
// Where to store the result
|
// Where to store the result
|
||||||
var signature_ptr = Module._malloc(32);
|
var signature_ptr = Module._malloc(64);
|
||||||
|
|
||||||
// Get a pointer to our private key
|
// Get a pointer to our private key
|
||||||
var privateKey_ptr = _allocate(new Uint8Array(privKey));
|
var privateKey_ptr = _allocate(new Uint8Array(privKey));
|
||||||
|
|
Loading…
Reference in a new issue