Skip to content

Commit 063d99c

Browse files
committed
Add special handling for Hyperweb chain's native token throughout asset utilities
1 parent 8ec71c6 commit 063d99c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/chain-admin/hooks/asset-list/useChainUtils.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ export const useChainUtils = (chainName: string) => {
160160
};
161161

162162
const isNativeAsset = ({ denom }: PrettyAsset) => {
163+
// Special handling for hyperweb native token
164+
if (denom === 'uhyper' && chainName === 'hyperweb') {
165+
return true;
166+
}
167+
163168
return !!nativeAssets.find((asset) => asset.base === denom);
164169
};
165170

0 commit comments

Comments
 (0)