-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
.then((result) => { | ||
console.log('result', result); | ||
.then((gethImported) => { | ||
console.log('result', gethImported); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most likely an unwanted console.log
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, was there on purpose, left in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use a more fitting description than "result" then.
@@ -106,7 +106,7 @@ export default class NewGeth extends Component { | |||
api.parity | |||
.listGethAccounts() | |||
.then((_addresses) => { | |||
const addresses = (addresses || []).filter((address) => !accounts[address]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, this should have been catched by the linter with _addresses
being an unused variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeap. The worst was I tracked this one down in the PRs and it was fixed in master when moved to MobX store - but only after manual testing. I remember this one when I saw it, even there it was also not caught.
parity_importGethAccounts
(backport of RPC commit in https://github.com/ethcore/parity/pull/4641)