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 (