Skip to content

Commit

Permalink
Merge branch 'main' into 2505_post_launch_fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy authored Oct 29, 2024
2 parents 8d87694 + c211d2d commit 62a02ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/Portfolio/Holdings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function useHoldings(address?: string, chainId?: number, showActions = tr
symbol: centBalances?.native.currency.symbol ?? 'CFG',
name: centBalances?.native.currency.symbol ?? 'CFG',
decimals: centBalances?.native.currency.decimals ?? 18,
key: 'centrifuge',
key: 'Native',
isPoolCurrency: false,
isPermissioned: false,
displayName: centBalances?.native.currency.symbol ?? 'CFG',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ const SendToken = ({ holding, isNativeTransfer }: SendProps) => {
const validAddress = validator(recipientAddress) ? recipientAddress : undefined
if (!validAddress) {
errors.recipientAddress = 'Invalid address'
} else if (!allowedTranches.includes(holding.trancheId)) {
} else if (!isNativeTransfer && !allowedTranches.includes(holding.trancheId)) {
errors.recipientAddress = 'Recipient is not allowed to receive this token'
}
if (!values.isDisclaimerAgreed && values.recipientAddress.startsWith('0x') && isNativeTransfer) {
Expand Down

0 comments on commit 62a02ac

Please sign in to comment.