code: def make_witness_input_and_witness(outpoint, sequence,
                                     stack=None, **kwargs):
      '''
      Outpoint, int, list(bytearray) -> (Input, InputWitness)
      '''
      if 'decred' in riemann.get_current_network_name():
          return(make_witness_input(outpoint, sequence),
                 make_decred_witness(value=kwargs['value'],
                                     height=kwargs['height'],
                                     index=kwargs['index'],
                                     stack_script=kwargs['stack_script'],
                                     redeem_script=kwargs['redeem_script']))
      return (make_witness_input(outpoint, sequence),
              make_witness(stack)f make_witness_input_and_witness(outpoint, sequence,
                                     stack=None, **kwargs):
      '''
      Outpoint, int, list(bytearray) -> (Input, InputWitness)
      '''
      if 'decred' in riemann.get_current_network_name():
          return(make_witness_input(outpoint, sequence),
                 make_decred_witness(value=kwargs['value'],
                                     height=kwargs['height'],
                                     index=kwargs['index'],
                                     stack_script=kwargs['stack_script'],
                                     redeem_script=kwargs['redeem_script']))
      return (make_witness_input(outpoint, sequence),
              make_witness(stack))
docs: Outpoint, int, list(bytearray) -> (Input, InputWitness)