verity_ic::remittance::utilsFunction validate_dc_remittance_data
source pub fn validate_dc_remittance_data(
new_remittances: &Vec<DataModel>,
dc_canister: Principal,
) -> Result<(), String>
Expand description
Validates remittance data for processing by a DC canister.
§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.