From 9b64f2b7a20029c3a511ae5193f666bfdd7a085a Mon Sep 17 00:00:00 2001 From: Sebastian Scatularo Date: Mon, 2 Oct 2023 16:00:00 -0300 Subject: [PATCH] fix wrong condition --- src/config/transferRules.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/config/transferRules.ts b/src/config/transferRules.ts index 7e70ce18c..c6fd1d349 100644 --- a/src/config/transferRules.ts +++ b/src/config/transferRules.ts @@ -47,9 +47,8 @@ const transferRules: Rule[] = [ }, { id: "terra-classic-native", - predicate: ({ source, token }: PredicateArgs) => - (source === CHAIN_ID_TERRA) && - terra.isNativeDenom(token), + predicate: ({ target, token }: PredicateArgs) => + target === CHAIN_ID_TERRA && terra.isNativeDenom(token), text: TERRA_CLASSIC_MESSAGE, disableTransfer: true, },