Skip to content

Commit

Permalink
Update Utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rating89us authored Jun 25, 2021
1 parent 4860bba commit fa4a9ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ function parseDateStringOrRestoreHeightAsInteger(value, device) {
console.log("Restore height undefined. Changing restore height to %1.".arg(device == "Ledger" ? ledgerMinRestoreHeight : trezorMinRestoreHeight));
restoreHeight = (device == "Ledger" ? ledgerMinRestoreHeight : trezorMinRestoreHeight);
} else {
restoreHeight = parseInt(value);
if (value == "") {
restoreHeight = 0;
} else {
restoreHeight = parseInt(value);
}
}
return restoreHeight;
}

0 comments on commit fa4a9ae

Please sign in to comment.