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
8fde87de
Commit
8fde87de
authored
Jul 25, 2019
by
Thibaut Sardan
Browse files
fix(): seed
parent
dba9f974
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/screens/AccountRecover.js
View file @
8fde87de
...
...
@@ -59,7 +59,7 @@ class AccountRecoverView extends React.Component {
const
{
accounts
}
=
this
.
props
;
brainWalletAddress
(
seed
)
.
then
(({
address
,
bip39
})
=>
accounts
.
updateNew
({
address
,
validBip39Seed
:
bip39
}))
.
then
(({
address
,
bip39
})
=>
accounts
.
updateNew
({
address
,
seed
,
validBip39Seed
:
bip39
}))
.
catch
(
console
.
error
);
}
...
...
@@ -118,6 +118,7 @@ class AccountRecoverView extends React.Component {
title
=
"
Next Step
"
onPress
=
{()
=>
{
const
validation
=
validateSeed
(
selected
.
seed
,
selected
.
validBip39Seed
);
if
(
!
validation
.
valid
)
{
Alert
.
alert
(
'
Warning:
'
,
...
...
@@ -143,6 +144,7 @@ class AccountRecoverView extends React.Component {
);
return
;
}
this
.
props
.
navigation
.
navigate
(
'
AccountPin
'
,
{
isWelcome
:
this
.
props
.
navigation
.
getParam
(
'
isWelcome
'
),
isNew
:
true
...
...
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