From e1583daaa33c8a391b5ba305ebbe26f2337648d6 Mon Sep 17 00:00:00 2001 From: Tommy Verrall Date: Thu, 20 Mar 2025 16:43:31 +0100 Subject: [PATCH] no need for everything else --- .../Bonding/modals/NodeCostParametersModals.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/nym-wallet/src/components/Bonding/modals/NodeCostParametersModals.tsx b/nym-wallet/src/components/Bonding/modals/NodeCostParametersModals.tsx index fe42b6481c..d78a2c1065 100644 --- a/nym-wallet/src/components/Bonding/modals/NodeCostParametersModals.tsx +++ b/nym-wallet/src/components/Bonding/modals/NodeCostParametersModals.tsx @@ -48,15 +48,8 @@ export const UpdateCostParametersModal = ({ } }; - if (isMixnode(node)) { - if (node.proxy) { - getFee(simulateUpdateMixnodeCostParams, costParams); - } else { - getFee(simulateUpdateMixnodeCostParams, costParams); - } - } else if (isNymNode(node)) { - getFee(simulateUpdateMixnodeCostParams, costParams); - } + getFee(simulateUpdateMixnodeCostParams, costParams); + } catch (error) { onError(error as string); }