From 231ceb1da0476f4ece8f7b091d8ab9cba4da8db9 Mon Sep 17 00:00:00 2001 From: SaketAnand Date: Wed, 3 Sep 2025 20:03:52 +0530 Subject: [PATCH] Update index.html --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index dfa4192..974c01c 100644 --- a/index.html +++ b/index.html @@ -4321,7 +4321,7 @@ return outs; } - // strict: require ALL inputs come from the cashier + // strict: require ALL inputs come from the payer/internship distribution address function isFromPayer(tx, payer) { const ins = getInputAddresses(tx); return ins.length > 0 && ins.every(a => a === payer); @@ -4346,7 +4346,7 @@ if (!floGlobals.payments) floGlobals.payments = Object.create(null); items.forEach((tx) => { - // sender must be the cashier + // sender must be the payer/internship distribution address if (!isFromPayer(tx, floGlobals.payer)) return; // pick the true receiver (first non-payer vout address)