From 051ff0fc8c98ef2b613ccf55807f30f39fc520fe Mon Sep 17 00:00:00 2001 From: theborakompanioni Date: Wed, 18 Feb 2026 18:34:35 +0100 Subject: [PATCH] fix(send): fix address-not-from-source-jar-test --- src/components/send/SendForm.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/send/SendForm.tsx b/src/components/send/SendForm.tsx index 0eb211d7..0ecba227 100644 --- a/src/components/send/SendForm.tsx +++ b/src/components/send/SendForm.tsx @@ -194,6 +194,8 @@ const sendFormSchema = ( }) .required() .test('address-not-from-source-jar-test', function (root) { + // Note: `fromJar` might still be `undefined` at this point + if (root.source.fromJar === undefined) return true const addressIsFromSourceJar = addressSummary[root.destination.address]?.jarIndex === root.source.fromJar if (!addressIsFromSourceJar) return true