def multisig_type(wallet_type):
 match = re.match('(\\d+)of(\\d+)', wallet_type)
 if match:
  match = [int(x) for x in match.group(1, 2)]
 return match

def multisig_type ( wallet_type ) : match = re . match ( '(\\d+)of(\\d+)' , wallet_type ) if match : match = [ int ( x ) for x in match . group ( 1 , 2 ) ] return match
if wallet_type is mofn multi-sig .