verity_ic::remittance::utils

Function validate_pdc_remittance_data

source
pub fn validate_pdc_remittance_data(
    new_remittances: &Vec<DataModel>,
    dc_canister: Principal,
) -> Result<(), String>
Expand description

Validates remittance data for processing by a PDC.

§Parameters

  • new_remittances: A vector of new remittance data models.
  • dc_canister: The principal of the DC canister.

§Returns

A result indicating success or an error message.