function checkTaprootInputFields(inputData, newInputData, action) {
  checkMixedTaprootAndNonTaprootInputFields(inputData, newInputData, action);
  checkIfTapLeafInTree(inputData, newInputData, action);
}
Checks the taproot input fields for consistency.
@param inputData The original input data.
@param newInputData The new input data.
@param action The action being performed.
@throws Throws an error if the input fields are inconsistent.