call sig properly

This commit is contained in:
Barry Gitarts 2019-01-31 14:57:48 -05:00
parent eeac75942a
commit 7ace944800
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "status-js-api",
"version": "1.2.5",
"version": "1.2.6",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -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(),
);