From d52008699bde55a862a934715edeedce9924b8d8 Mon Sep 17 00:00:00 2001 From: delivan Date: Tue, 30 Jul 2024 18:04:45 +0900 Subject: [PATCH] Fix a build issue --- src/cms.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cms.ts b/src/cms.ts index 795ff2b88..3ba142b67 100644 --- a/src/cms.ts +++ b/src/cms.ts @@ -77,7 +77,7 @@ const main = async () => { .replace(/(\ |\.)/g, "-"), "chain-identifier": chainIdentifier, token: chainInfo.currencies[0].coinDenom, - "short-address": chainInfo.bech32Config.bech32PrefixAccAddr, + "short-address": chainInfo.bech32Config?.bech32PrefixAccAddr, label: { url: chainInfo?.chainSymbolImageUrl, }, @@ -103,7 +103,7 @@ const main = async () => { name: chainInfo.chainName, "chain-identifier": chainIdentifier, token: chainInfo.currencies[0].coinDenom, - "short-address": chainInfo.bech32Config.bech32PrefixAccAddr, + "short-address": chainInfo.bech32Config?.bech32PrefixAccAddr, label: { url: chainInfo?.chainSymbolImageUrl, },