From 7bec114b9fba6c553a8781f0ab09a427c305ca55 Mon Sep 17 00:00:00 2001 From: Sergey White Date: Thu, 15 Aug 2024 10:14:34 +0300 Subject: [PATCH] feat: steth-digest fix code style --- .../src/services/withdrawals/Withdrawals.srv.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ethereum-steth/src/services/withdrawals/Withdrawals.srv.ts b/ethereum-steth/src/services/withdrawals/Withdrawals.srv.ts index 88d87383..683be9c3 100644 --- a/ethereum-steth/src/services/withdrawals/Withdrawals.srv.ts +++ b/ethereum-steth/src/services/withdrawals/Withdrawals.srv.ts @@ -827,13 +827,13 @@ export class WithdrawalsSrv { } return E.right( - `\n` + - `\tStEth: ${stat.right.stethAmount.toFixed(4)} \n` + - `\tfinalized: ${stat.right.finalizedSteth.toFixed(4)} ${stat.right.finalizedRequests} \n` + - `\tunfinalized: ${stat.right.unFinalizedSteth.toFixed(4)} ${stat.right.unFinalizedRequests} \n` + - `\tclaimed: ${stat.right.claimedSteth.toFixed(4)} ${stat.right.claimedRequests} \n` + - `\tunclaimed: ${stat.right.unClaimedSteth.toFixed(4)} ${stat.right.unClaimedRequests}\n` + - `\ttotal: ${stat.right.totalRequests} withdrawal requests`, + `\nWithdrawals info:` + + `\trequests count: ${stat.right.totalRequests} \n` + + `\twithdrawn stETH: ${stat.right.stethAmount.toFixed(4)} \n` + + `\tfinalized stETH: ${stat.right.finalizedSteth.toFixed(4)} ${stat.right.finalizedRequests} \n` + + `\tunfinalized stETH: ${stat.right.unFinalizedSteth.toFixed(4)} ${stat.right.unFinalizedRequests} \n` + + `\tclaimed ether: ${stat.right.claimedSteth.toFixed(4)} ${stat.right.claimedRequests} \n` + + `\tunclaimed ether: ${stat.right.unClaimedSteth.toFixed(4)} ${stat.right.unClaimedRequests}\n`, ) } }