{"action":"closed","issue":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/1128","labels_url":"https://api.github.com/repos/spesmilo/electrum/issues/1128/labels{/name}","comments_url":"https://api.github.com/repos/spesmilo/electrum/issues/1128/comments","events_url":"https://api.github.com/repos/spesmilo/electrum/issues/1128/events","html_url":"https://github.com/spesmilo/electrum/issues/1128","id":66046659,"number":1128,"title":"Trezor plugin does not restore all bip44 accounts ","user":{"login":"Perlover","id":574333,"avatar_url":"https://avatars.githubusercontent.com/u/574333?v=3","gravatar_id":"","url":"https://api.github.com/users/Perlover","html_url":"https://github.com/Perlover","followers_url":"https://api.github.com/users/Perlover/followers","following_url":"https://api.github.com/users/Perlover/following{/other_user}","gists_url":"https://api.github.com/users/Perlover/gists{/gist_id}","starred_url":"https://api.github.com/users/Perlover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Perlover/subscriptions","organizations_url":"https://api.github.com/users/Perlover/orgs","repos_url":"https://api.github.com/users/Perlover/repos","events_url":"https://api.github.com/users/Perlover/events{/privacy}","received_events_url":"https://api.github.com/users/Perlover/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spesmilo/electrum/labels/Trezor","name":"Trezor","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-04-03T01:23:39Z","updated_at":"2015-12-25T14:35:19Z","closed_at":"2015-12-25T14:35:19Z","body":"Hi,\r\n\r\nElectrum 2.0.4 has incorrect definition of used account when it restores accounts from seed (BIP44).\r\nIf an account has zero balance of bitcoins but it was used (has non-zero transaction amounts) - the correct behaviour is to decide is this account as used or not by amount Txs and to continue calculate addresses if an amount of Txs > 0. The Electrum's behaviour is incorrect - it decides that account was not used if balance is zero and the Electrum stops calculations of addresses so it doesn't see new addresses which are used later in old accounts but where account balances are zero. If i want to see old accounts i should put bitcoins in these accounts again (this is not problem of gaps)\r\n\r\nSo the Electrum should decide used account by amount of transactions for address/account but not by balances in these addresses/account."}}