aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-23 09:40:29 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-23 09:41:54 +0800
commit05c8658ff343af61b1a40a5624ecba77adb2ef00 (patch)
tree5c2f426a63e22f4abc378a59bb86faba7e002877 /app/scripts/lib
parent1e46d858e995c6c50f155f1bcdaf64b922402599 (diff)
downloadtangerine-wallet-browser-05c8658ff343af61b1a40a5624ecba77adb2ef00.tar
tangerine-wallet-browser-05c8658ff343af61b1a40a5624ecba77adb2ef00.tar.gz
tangerine-wallet-browser-05c8658ff343af61b1a40a5624ecba77adb2ef00.tar.bz2
tangerine-wallet-browser-05c8658ff343af61b1a40a5624ecba77adb2ef00.tar.lz
tangerine-wallet-browser-05c8658ff343af61b1a40a5624ecba77adb2ef00.tar.xz
tangerine-wallet-browser-05c8658ff343af61b1a40a5624ecba77adb2ef00.tar.zst
tangerine-wallet-browser-05c8658ff343af61b1a40a5624ecba77adb2ef00.zip
Fix new encryptor migration logic
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/encryptor.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/scripts/lib/encryptor.js b/app/scripts/lib/encryptor.js
index 8bacab766..4770d2f54 100644
--- a/app/scripts/lib/encryptor.js
+++ b/app/scripts/lib/encryptor.js
@@ -42,7 +42,6 @@ function encryptWithKey (key, dataObj) {
var data = JSON.stringify(dataObj)
var dataBuffer = convertStringToArrayBufferView(data)
var vector = global.crypto.getRandomValues(new Uint8Array(16))
-
return global.crypto.subtle.encrypt({
name: 'AES-GCM',
iv: vector,