From 35389e14be0d56c904b0e97735b6c8acf9af6a0e Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Thu, 7 Mar 2024 20:10:52 +0700 Subject: [PATCH] Update chain.helper.ts Remove check balance when undelegate --- src/chains/chain.helper.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/chains/chain.helper.ts b/src/chains/chain.helper.ts index 198f3e1..307aeb0 100644 --- a/src/chains/chain.helper.ts +++ b/src/chains/chain.helper.ts @@ -239,9 +239,7 @@ export class ChainHelper { ); break; } - case isAminoMsgDelegate(msg): - case isAminoMsgBeginRedelegate(msg): - case isAminoMsgUndelegate(msg): { + case isAminoMsgDelegate(msg): { total += Number(msg.value.amount.amount); break; }