Skip to content

Commit

Permalink
Fix withdraw address chain (#2287)
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser authored Jul 18, 2024
1 parent a54a654 commit b7962b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-app/src/utils/usePermissions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export function usePoolAccess(poolId: string) {
if ('EVM' in key.Address)
return {
address: key.Address.EVM[1].toLowerCase(),
location: { evm: key.Address.EVM[0].replace(/\D/g, '') },
location: { evm: Number(key.Address.EVM[0].replace(/\D/g, '')) },
}
} else if ('Xcm' in key) {
if (!key.Xcm?.V3?.interior?.X2?.[1]?.AccountId32?.id) {
Expand Down

0 comments on commit b7962b8

Please sign in to comment.