From 2b888d5e87c92b358a4d8de260e0b9fe40a06b70 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 21 Oct 2024 20:33:13 +1000 Subject: [PATCH] fix: Tron contract verification --- .../src/modules/transfer/components/ToAccount/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/canonical-bridge-widget/src/modules/transfer/components/ToAccount/index.tsx b/packages/canonical-bridge-widget/src/modules/transfer/components/ToAccount/index.tsx index 3e4b7633..9edfc1c8 100644 --- a/packages/canonical-bridge-widget/src/modules/transfer/components/ToAccount/index.tsx +++ b/packages/canonical-bridge-widget/src/modules/transfer/components/ToAccount/index.tsx @@ -63,7 +63,7 @@ export function ToAccount(props: FlexProps) { return null; } - const isInvalid = (!isAvailableAccount && !!toAccount.address) || isTronContract === false; + const isInvalid = (!isAvailableAccount && !!toAccount.address) || isTronContract === true; const onCheckboxChange = (e: React.ChangeEvent) => { if (e.target.checked === true) {