{"action":"closed","issue":{"url":"https://api.github.com/repos/bitcoinjs/bip32-utils/issues/6","repository_url":"https://api.github.com/repos/bitcoinjs/bip32-utils","labels_url":"https://api.github.com/repos/bitcoinjs/bip32-utils/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/bitcoinjs/bip32-utils/issues/6/comments","events_url":"https://api.github.com/repos/bitcoinjs/bip32-utils/issues/6/events","html_url":"https://github.com/bitcoinjs/bip32-utils/issues/6","id":179986532,"number":6,"title":"Unable to derivate xPub from Account","user":{"login":"ivanminutillo","id":1852065,"avatar_url":"https://avatars.githubusercontent.com/u/1852065?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanminutillo","html_url":"https://github.com/ivanminutillo","followers_url":"https://api.github.com/users/ivanminutillo/followers","following_url":"https://api.github.com/users/ivanminutillo/following{/other_user}","gists_url":"https://api.github.com/users/ivanminutillo/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanminutillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanminutillo/subscriptions","organizations_url":"https://api.github.com/users/ivanminutillo/orgs","repos_url":"https://api.github.com/users/ivanminutillo/repos","events_url":"https://api.github.com/users/ivanminutillo/events{/privacy}","received_events_url":"https://api.github.com/users/ivanminutillo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoinjs/bip32-utils/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-29T08:44:11Z","updated_at":"2016-09-29T12:09:37Z","closed_at":"2016-09-29T12:09:37Z","body":"Hello :) I am trying to derive the xPub having the account, if I use the code in readme:\r\naccount.getChildrenMap(account.getAllAddresses())\r\nwhat I return is not the xpub but the entire hdnode like this :\r\n\r\n```\r\nmn.....gKR {\r\n  chainCode:Uint8Array[32]\r\n  depth:5\r\n  index:0\r\n  keyPair:ECPair\r\n  parentFingerprint:61...83\r\n}\r\n```\r\nThen If I use the .toBase58 method on the resulting keyPair I obtain the xprv...\r\nWhat I am doing wrong? "}}
{"actor":{"display_login":"dcousens"}}