From a2979a75ef2ab746c769d636142b7a7e8242f162 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Mon, 18 Sep 2023 13:23:25 +0800 Subject: [PATCH] Disable Delegations --- src/modules/[chain]/staking/[validator].vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/modules/[chain]/staking/[validator].vue b/src/modules/[chain]/staking/[validator].vue index 13af5ea9..d0f45ea3 100644 --- a/src/modules/[chain]/staking/[validator].vue +++ b/src/modules/[chain]/staking/[validator].vue @@ -138,12 +138,9 @@ onMounted(() => { }); // Disable delegations due to its bad performance + // Comment out the following code if you want to enable it // pageload(1) - // blockchain.rpc.getDistributionValidatorSlashes(validator).then(res => { - // // delegations.value = res - // console.log('slashs:', res) - // }) } }); let showCopyToast = ref(0); @@ -489,7 +486,7 @@ function pageload(p: number) { -