From 6ea43afb411e736dca75ee7f64c743fe2b8fdd72 Mon Sep 17 00:00:00 2001 From: BitcoinVM <18786721@qq.com> Date: Sun, 4 Feb 2024 12:32:55 +0800 Subject: [PATCH] fixed type error --- src/modules/[chain]/staking/[validator].vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/[chain]/staking/[validator].vue b/src/modules/[chain]/staking/[validator].vue index 1e982922..e45a71ca 100644 --- a/src/modules/[chain]/staking/[validator].vue +++ b/src/modules/[chain]/staking/[validator].vue @@ -131,7 +131,7 @@ onMounted(() => { ); addresses.value.valCons = pubKeyToValcons( v.value.consensus_pubkey, - blockchain.current.bech32ConsensusPrefix, + blockchain.current.bech32ConsensusPrefix || "", ); }); blockchain.rpc