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
25e0ffca
Commit
25e0ffca
authored
Aug 17, 2018
by
fro
Browse files
fixes
#128
parent
114ff2a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/components/AccountIconChooser.js
View file @
25e0ffca
...
...
@@ -60,7 +60,7 @@ export default class AccountIconChooser extends React.PureComponent<{
const
seed
=
await
words
();
return
{
seed
,
address
:
(
await
brainWalletAddress
(
seed
)
).
toLowerCase
()
address
:
await
brainWalletAddress
(
seed
)
};
})
))
...
...
src/stores/AccountsStore.js
View file @
25e0ffca
...
...
@@ -71,7 +71,7 @@ export default class AccountsStore extends Container<AccountsState> {
if
(
typeof
seed
===
'
string
'
)
{
debounce
(
async
()
=>
{
Object
.
assign
(
this
.
state
.
newAccount
,
{
address
:
(
await
brainWalletAddress
(
seed
)
).
toLowerCase
()
address
:
await
brainWalletAddress
(
seed
)
});
this
.
setState
({});
},
200
)();
...
...
@@ -112,9 +112,7 @@ export default class AccountsStore extends Container<AccountsState> {
async
refreshList
()
{
loadAccounts
().
then
(
res
=>
{
const
accounts
=
new
Map
(
res
.
map
(
a
=>
[
accountId
(
a
),
{
...
a
,
address
:
a
.
address
.
toLowerCase
()
}])
);
const
accounts
=
new
Map
(
res
.
map
(
a
=>
[
accountId
(
a
),
a
]));
this
.
setState
({
accounts
});
});
}
...
...
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