From 18a87d5463ba80af57805da0088ccf532482ad2d Mon Sep 17 00:00:00 2001 From: Beaudan Date: Mon, 3 Jun 2019 13:35:58 +1000 Subject: [PATCH] Review changes --- js/modules/loki_message_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/modules/loki_message_api.js b/js/modules/loki_message_api.js index be09c24c6..b5e0b9ffe 100644 --- a/js/modules/loki_message_api.js +++ b/js/modules/loki_message_api.js @@ -30,7 +30,7 @@ const filterIncomingMessages = async messages => { return newMessages; }; -const calcNonce = async (messageEventData, pubKey, data64, timestamp, ttl) => { +const calcNonce = (messageEventData, pubKey, data64, timestamp, ttl) => { // Nonce is returned as a base64 string to include in header window.Whisper.events.trigger('calculatingPoW', messageEventData); const development = window.getEnvironment() !== 'production';