From 49afaf07372619b11d9fdbaaf42cf92ef9ad96d7 Mon Sep 17 00:00:00 2001 From: Felix Henneke Date: Sat, 14 Dec 2024 03:12:17 +0100 Subject: [PATCH] [Easy] Change formating of exchange rates (#455) Co-authored-by: Haris Angelidakis <64154020+harisang@users.noreply.github.com> --- src/fetch/payouts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fetch/payouts.py b/src/fetch/payouts.py index 1d5ca753..6b08d4ec 100644 --- a/src/fetch/payouts.py +++ b/src/fetch/payouts.py @@ -599,8 +599,8 @@ def construct_payouts( f"COW DAO Service Fees: {service_fee / 10 ** 18:.4f}\n\n" f"Network Fees: {total_network_fees / 10**18:.4f}\n" f"Slippage: {total_slippage / 10**18:.4f}\n\n" - f"Exchange rate native token to COW: {exchange_rate_native_to_cow:.4f} COW/native token\n" - f"Exchange rate native token to ETH: {exchange_rate_native_to_eth:.4f} ETH/native token\n", + f"Exchange rate native token to COW: {exchange_rate_native_to_cow:.6g} COW/native token\n" + f"Exchange rate native token to ETH: {exchange_rate_native_to_eth:.6g} ETH/native token\n", category=Category.TOTALS, ) payouts = prepare_transfers(