Commit 2eacaa87 by Chris Committed by GitHub

Hotfix v2.5.3 (#398)

* fix syntax error in main.js

* reclaim tool: invalidate new seeds longer than 81 trytes

* bump version to 2.5.3
parent 748c0be8
......@@ -581,7 +581,7 @@ var App = (function(App, undefined) {
}
if (simple) {
template[1].submenu.splce(0, 2); // Only language
template[1].submenu.splice(0, 2); // Only language
} else {
if (process.platform == "win32") {
template[1].submenu.splice(1, 1); // Hide fullscreen
......
......@@ -282,7 +282,7 @@
"db_location":"Database Location",
"invalid_seed":"Invalid Seed",
"invalid_old_seed":"Invalid Old Seed",
"invalid_new_seed":"Invalid New Seed. Minimum length: 81 trytes",
"invalid_new_seed":"Invalid new seed. The seed must be 81 trytes in length",
"amount":"Amount",
"select_your_host":"Select Your Host",
"custom":"Custom",
......
{
"name": "iota",
"version": "2.5.2",
"version": "2.5.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
......@@ -2,7 +2,7 @@
"name": "iota",
"productName": "IOTA Wallet",
"description": "IOTA Wallet",
"version": "2.5.2",
"version": "2.5.3",
"license": "GPL-3.0",
"main": "app/js/main.js",
"scripts": {
......
......@@ -2,7 +2,7 @@
"name": "iota-testnet",
"productName": "IOTA Wallet Testnet",
"description": "IOTA Wallet Testnet",
"version": "2.5.1-testnet",
"version": "2.5.3-testnet",
"license": "GPL-3.0",
"main": "app/js/main.js",
"scripts": {
......
......@@ -53,7 +53,7 @@ var UI = (function (UI, $, undefined) {
$('#recovery-old-seed').focus()
return
}
if (newSeed.length === 0 || !iota.valid.isTrytes(newSeed) || newSeed.length < 81) {
if (newSeed.length != 81 || !iota.valid.isTrytes(newSeed)) {
UI.formError('recover', 'invalid_new_seed', {initial: 'publish_proof'})
$('.remodal-close').off('click')
publishProofBtn.loadingReset('publish_proof')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment