{"action":"opened","issue":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/402","labels_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/402/labels{/name}","comments_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/402/comments","events_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/402/events","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/issues/402","id":71468918,"number":402,"title":"Remove defaulted network information","user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/labels/discussion","name":"discussion","color":"207de5"},{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/labels/todo","name":"todo","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-28T03:39:51Z","updated_at":"2015-04-28T03:39:51Z","closed_at":null,"body":"Remaining aspects of https://github.com/bitcoinjs/bitcoinjs-lib/issues/325\r\n\r\nWe should add `network` to all parts of the API that need it, with no defaulting.\r\n\r\nThat means `ECPair.fromWIF` would require a target network, with an `Error` thrown if the wrong network is given.\r\nSame with `HDNode.fromBase58`."}}