diff --git a/package.json b/package.json index 31efd35..5a945e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "status-js-api", - "version": "1.2.5", + "version": "1.2.6", "description": "", "main": "index.js", "scripts": { diff --git a/src/index.ts b/src/index.ts index 1ac9779..b665aa9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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(), );