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
7fbcfb25
Commit
7fbcfb25
authored
Nov 19, 2019
by
Hanwen Cheng
Browse files
Merge branch 'hanwen-fix-loading' into sveta-hanwen-hdkd
parents
b0375444
91750a2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/screens/Loading.js
View file @
7fbcfb25
...
...
@@ -48,14 +48,14 @@ export default class Loading extends React.PureComponent {
const
oldAccounts_v2
=
await
loadAccounts
(
2
);
const
oldAccounts
=
[...
oldAccounts_v1
,
...
oldAccounts_v2
];
const
accounts
=
oldAccounts
.
map
(([
_
,
value
])
=>
{
let
result
=
{};
if
(
value
.
chainId
)
{
// The networkKey for Ethereum accounts is the chain id
result
=
{
...
value
,
networkKey
:
value
.
chainId
,
recovered
:
true
};
const
result
=
{
...
value
,
networkKey
:
value
.
chainId
,
recovered
:
true
};
delete
result
.
chainId
;
delete
result
.
networkType
;
return
result
;
}
return
result
;
return
value
;
});
accounts
.
forEach
(
account
=>
{
...
...
Ghost User
@ghost
mentioned in commit
148786de
·
Nov 19, 2019
mentioned in commit
148786de
mentioned in commit 148786def9efaf73fe91999646f2fb2ade8f5065
Toggle commit list
Ghost User
@ghost
mentioned in commit
4c86d8cf
·
Nov 22, 2019
mentioned in commit
4c86d8cf
mentioned in commit 4c86d8cffe30589226206ad39752055dba6c88ea
Toggle commit list
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