ui/shared/src/main/java/com/squareup/subzero/shared/SubzeroUtils.java
private static void validateTxInputs(List<TxInput> inputs) throws VerificationException {
    if (inputs.size() > Constants.INPUTS_COUNT_MAX) {
      throw new VerificationException(ERROR_INPUTS_COUNT);
    }
    for (TxInput input : inputs) {
      if (input.getPrevHashOrThrow().size() > Constants.TXINPUT_PREV_HASH_MAX_SIZE) {
        throw new VerificationException(ERROR_TXINPUT_PREV_HASH_SIZE);
      }
    }
  }
/**
   * As TxInputs are shared between internal and external SignTx requests, this method is
   * intended to perform checks on the inputs for either version
   * @param inputs List of TxInput objects to validate
   * @throws VerificationException in the event of a field exceeding a required limit
   */
As TxInputs are shared between internal and external SignTx requests, this method is
intended to perform checks on the inputs for either version
@param inputs List of TxInput objects to validate
@throws VerificationException in the event of a field exceeding a required limit
As TxInputs are shared between internal and external SignTx requests this method is intended to perform checks on the inputs for either version @param inputs List of TxInput objects to validate @throws VerificationException in the event of a field exceeding a required limit
private static void validateTxInputs(List<TxInput> inputs) throws VerificationException {
    if (inputs.size() > Constants.INPUTS_COUNT_MAX) {
      throw new VerificationException(ERROR_INPUTS_COUNT);
    }
    for (TxInput input : inputs) {
      if (input.getPrevHashOrThrow().size() > Constants.TXINPUT_PREV_HASH_MAX_SIZE) {
        throw new VerificationException(ERROR_TXINPUT_PREV_HASH_SIZE);
      }
    }
  }
private static void validateTxInputs ( List < TxInput > inputs ) throws VerificationException { if ( inputs . size ( ) > Constants . INPUTS_COUNT_MAX ) { throw new VerificationException ( ERROR_INPUTS_COUNT ) ; } for ( TxInput input : inputs ) { if ( input . getPrevHashOrThrow ( ) . size ( ) > Constants . TXINPUT_PREV_HASH_MAX_SIZE ) { throw new VerificationException ( ERROR_TXINPUT_PREV_HASH_SIZE ) ; } } }
As TxInputs are shared between internal and external SignTx requests, this method is
 intended to perform checks on the inputs for either version
 @param inputs List of TxInput objects to validate
 @throws VerificationException in the event of a field exceeding a required limit
As TxInputs are shared between internal and external SignTx requests this method is intended to perform checks on the inputs for either version @param inputs List of TxInput objects to validate @throws VerificationException in the event of a field exceeding a required limit