Skip to content
Snippets Groups Projects
Commit 09a98be0 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] ES Message: do not compute nonce twice

parent e57e46ae
No related branches found
No related tags found
No related merge requests found
...@@ -311,8 +311,7 @@ function ESMessageComposeModalController($scope, Modals, UIUtils, CryptoUtils, c ...@@ -311,8 +311,7 @@ function ESMessageComposeModalController($scope, Modals, UIUtils, CryptoUtils, c
recipient: $scope.formData.destPub, recipient: $scope.formData.destPub,
title: $scope.formData.title, title: $scope.formData.title,
content: $scope.formData.content, content: $scope.formData.content,
time: esHttp.date.now(), time: esHttp.date.now()
nonce: CryptoUtils.util.random_nonce()
}; };
esMessage.send(data, csWallet.data.keypair) esMessage.send(data, csWallet.data.keypair)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment