Browse Source

Armory: fixed bug.. extra lines considered as real input

patch-2
olalonde 11 years ago
parent
commit
708b59eb3e
  1. 2
      lib/Armory.js

2
lib/Armory.js

@ -51,7 +51,7 @@ function decode (str) {
}
Armory.decodeSeed = function (seed) {
var keys = seed.split('\n');
var keys = seed.trim().split('\n');
var lines = [];
for (var i = 0; i < keys.length; i++) {

Loading…
Cancel
Save