Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
114ff2a8
Commit
114ff2a8
authored
Aug 17, 2018
by
fro
Browse files
small fix in message
parent
b3b1bd00
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/account.js
View file @
114ff2a8
...
...
@@ -48,7 +48,7 @@ export function validateSeed(seed) {
if
(
set
.
has
(
word
))
{
return
{
valid
:
false
,
reason
:
`
D
uplicated word "
${
word
}
" found. Words in seed phrase must be unique.`
reason
:
`
A d
uplicated word "
${
word
}
" found. Words in seed phrase must be unique.`
};
}
if
(
word
===
''
)
{
...
...
@@ -59,7 +59,7 @@ export function validateSeed(seed) {
}
return
{
valid
:
false
,
reason
:
`
W
ord
${
word
}
is not from the word list`
reason
:
`
The w
ord
"
${
word
}
"
is not from the word list`
}
}
set
.
add
(
word
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment