Skip to content

Commit 3174109

Browse files
committed
Code cleanup
1 parent 4b25d9f commit 3174109

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

js/armory.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*
2-
armory.js : Armory deterministic wallet implementation (public domain).
2+
armory.js : Armory deterministic wallet implementation (public domain)
33
*/
44

55
function armory_extend_chain(pubKey, chainCode, privKey, fromPrivKey) {
6-
var chainMod = Crypto.SHA256(Crypto.SHA256(pubKey, {asBytes: true}), {asBytes: true})
7-
var chainXor = chainMod.slice(0);
6+
var chainXor = Crypto.SHA256(Crypto.SHA256(pubKey, {asBytes: true}), {asBytes: true})
7+
88
for (var i = 0; i < 32; i++)
99
chainXor[i] ^= chainCode[i];
1010

js/brainwallet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@
616616
}
617617

618618
function electrum_seed_update(r, seed) {
619-
$('#progress').text('hashing: ' + r + '%');
619+
$('#progress').text('key stretching: ' + r + '%');
620620
$('#expo').val(Crypto.util.bytesToHex(seed));
621621
}
622622

0 commit comments

Comments
 (0)