From 9b98e5cf8b9dc428bc5a9ba3357edb458cf7dba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Tue, 5 Jun 2018 17:35:13 +0200 Subject: [PATCH] polish --- src/components/modals/AccountSettingRenderBody.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/modals/AccountSettingRenderBody.js b/src/components/modals/AccountSettingRenderBody.js index 7da86ae3..127b5bc2 100644 --- a/src/components/modals/AccountSettingRenderBody.js +++ b/src/components/modals/AccountSettingRenderBody.js @@ -54,7 +54,7 @@ class HelperComp extends PureComponent { ...defaultState, } - getAccount(data: Object) { + getAccount(data: Object): Account { const { accountName } = this.state const account = get(data, 'account', {}) @@ -121,10 +121,10 @@ class HelperComp extends PureComponent { const usefulData = { xpub: account.xpub || undefined, - path: account.path, index: account.index, freshAddressPath: account.freshAddressPath, id: account.id, + blockHeight: account.blockHeight, } return (