{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/618","repository_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib","labels_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/618/comments","events_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/618/events","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/issues/618","id":176409804,"number":618,"title":"Changing network for multisigOutput and ScriptHashOutput","user":{"login":"starsoccer","id":1938666,"avatar_url":"https://avatars.githubusercontent.com/u/1938666?v=3","gravatar_id":"","url":"https://api.github.com/users/starsoccer","html_url":"https://github.com/starsoccer","followers_url":"https://api.github.com/users/starsoccer/followers","following_url":"https://api.github.com/users/starsoccer/following{/other_user}","gists_url":"https://api.github.com/users/starsoccer/gists{/gist_id}","starred_url":"https://api.github.com/users/starsoccer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starsoccer/subscriptions","organizations_url":"https://api.github.com/users/starsoccer/orgs","repos_url":"https://api.github.com/users/starsoccer/repos","events_url":"https://api.github.com/users/starsoccer/events{/privacy}","received_events_url":"https://api.github.com/users/starsoccer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T15:42:30Z","updated_at":"2016-09-12T18:35:28Z","closed_at":null,"body":"Unlike bitcoin.ECPair.makeRandom, bitcoin.script.multisigOutput and bitcoin.script.scriptHashOutput do not seem to support setting a different network. Is there a way to set a default network or any way to change the network typed used in both functions?"},"comment":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/comments/246446584","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/issues/618#issuecomment-246446584","issue_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/618","id":246446584,"user":{"login":"starsoccer","id":1938666,"avatar_url":"https://avatars.githubusercontent.com/u/1938666?v=3","gravatar_id":"","url":"https://api.github.com/users/starsoccer","html_url":"https://github.com/starsoccer","followers_url":"https://api.github.com/users/starsoccer/followers","following_url":"https://api.github.com/users/starsoccer/following{/other_user}","gists_url":"https://api.github.com/users/starsoccer/gists{/gist_id}","starred_url":"https://api.github.com/users/starsoccer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starsoccer/subscriptions","organizations_url":"https://api.github.com/users/starsoccer/orgs","repos_url":"https://api.github.com/users/starsoccer/repos","events_url":"https://api.github.com/users/starsoccer/events{/privacy}","received_events_url":"https://api.github.com/users/starsoccer/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T18:35:28Z","updated_at":"2016-09-12T18:35:28Z","body":"I have figured it out. For those having issues, you simply need to add the network type to fromoutputscript."}}
{"actor":{"display_login":"starsoccer"}}