Skip to content

Commit

Permalink
fix wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Oct 2, 2023
1 parent 5d08011 commit 9b64f2b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/config/transferRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 9b64f2b

Please sign in to comment.