call sig properly
This commit is contained in:
parent
eeac75942a
commit
7ace944800
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "status-js-api",
|
||||
"version": "1.2.5",
|
||||
"version": "1.2.6",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -73,7 +73,7 @@ class StatusJS {
|
|||
this.mailservers = new mailservers(web3);
|
||||
|
||||
await web3.shh.setMinPoW(constants.post.POW_TARGET);
|
||||
_sig.set(
|
||||
sig.set(
|
||||
this,
|
||||
privateKey ? await this.generateWhisperKeyFromWallet(privateKey) : await web3.shh.newKeyPair(),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue