code: def make_witness_input(outpoint, sequence):
      '''
      Outpoint, int -> TxIn
      '''
      if 'decred' in riemann.get_current_network_name():
          return tx.DecredTxIn(
              outpoint=outpoint,
              sequence=utils.i2le_padded(sequence, 4))
      return tx.TxIn(outpoint=outpoint,
                     stack_script=b'',
                     redeem_script=b'',
                     sequence=utils.i2le_padded(sequence, 4)f make_witness_input(outpoint, sequence):
      '''
      Outpoint, int -> TxIn
      '''
      if 'decred' in riemann.get_current_network_name():
          return tx.DecredTxIn(
              outpoint=outpoint,
              sequence=utils.i2le_padded(sequence, 4))
      return tx.TxIn(outpoint=outpoint,
                     stack_script=b'',
                     redeem_script=b'',
                     sequence=utils.i2le_padded(sequence, 4))
docs: Outpoint, int -> TxIn