Skip to content

Commit

Permalink
Merge pull request #149 from bnb-chain/feat/addressCheck
Browse files Browse the repository at this point in the history
chore: Update error message
  • Loading branch information
Halibao-Lala authored Dec 2, 2024
2 parents 72e037d + bb5d7ba commit 1a813cb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export function TransferButton({
isPegged: selectedToken.isPegged,
tokenSymbol: selectedToken.symbol,
toChainId: toChain?.id,
message: `Invalid cBridge token!!`,
message: `(Token Validation Failed) - Invalid cBridge token!!`,
});
return;
}
Expand Down Expand Up @@ -243,7 +243,7 @@ export function TransferButton({
});
if (!isValidToken) {
handleFailure({
message: 'Invalid deBridge token!!',
message: '(Token Validation Failed) - Invalid deBridge token!!',
fromChainId: fromChain?.id,
tokenSymbol: selectedToken.symbol,
tokenAddress: selectedToken.address as `0x${string}`,
Expand Down Expand Up @@ -309,7 +309,7 @@ export function TransferButton({
});
if (!isValidToken) {
handleFailure({
messages: 'Invalid Stargate token!!',
messages: '(Token Validation Failed) - Invalid Stargate token!!',
fromChainId: fromChain?.id,
tokenAddress: selectedToken.address as `0x${string}`,
bridgeAddress: transferActionInfo.bridgeAddress as `0x${string}`,
Expand Down Expand Up @@ -379,7 +379,7 @@ export function TransferButton({
});
if (!isValidToken) {
handleFailure({
message: 'Invalid Meson token!!',
message: '(Token Validation Failed) Invalid Meson token!!',
fromChainId: fromChain?.id,
tokenAddress: selectedToken.address as `0x${string}`,
bridgeAddress: transferActionInfo.bridgeAddress as `0x${string}`,
Expand Down

0 comments on commit 1a813cb

Please sign in to comment.