parent
6d1c5d39a3
commit
5ef9975ac5
|
@ -262,6 +262,7 @@ Address._transformScript = function(script, network){
|
|||
*/
|
||||
Address.createMultisig = function(publicKeys, threshold, network) {
|
||||
var Script = require('./script');
|
||||
network = network || publicKeys[0].network;
|
||||
return new Address(Script.buildMultisigOut(publicKeys, threshold), network || Networks.defaultNetwork);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue