Fix imports triggering verification when below threshold

no issue

Swapped the variable names for importSize and importThreshold
This commit is contained in:
Sam Lord 2022-02-01 12:04:39 +00:00
parent 77f2acaf65
commit c3eb3cd567

View File

@ -60,7 +60,7 @@ const processImport = async (options) => {
delete result.meta.originalImportSize;
const importThreshold = await verificationTrigger.getImportThreshold();
if (importThreshold > importSize) {
if (importSize > importThreshold) {
await verificationTrigger.startVerificationProcess({
amountImported: importSize,
throwOnTrigger: true