'Create multisig address'

@command('')
def createmultisig(self, num, pubkeys):

    assert isinstance(pubkeys, list), (type(num), type(pubkeys))
    redeem_script = transaction.multisig_script(pubkeys, num)
    address = bitcoin.hash160_to_p2sh(hash_160(redeem_script.decode('hex')))
    return {'address': address, 'redeemScript': redeem_script}
