From 40ea447d2dd2fedc9972d9fcd2cb8f56b9e44f8c Mon Sep 17 00:00:00 2001 From: Diana Carvalho Date: Thu, 16 Oct 2025 16:56:06 +0100 Subject: [PATCH] fix: Forge fmt was going crazy in this function It kept changing the formatting between two states and was never happy.. Took 4 minutes --- foundry/src/TychoRouter.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/foundry/src/TychoRouter.sol b/foundry/src/TychoRouter.sol index 3eb3829..d67fba9 100644 --- a/foundry/src/TychoRouter.sol +++ b/foundry/src/TychoRouter.sol @@ -806,6 +806,7 @@ contract TychoRouter is /** * @dev Gets balance of a token for a given address. Supports both native ETH and ERC20 tokens. */ + // forgefmt: disable-start function _balanceOf(address token, address owner) internal view @@ -813,7 +814,7 @@ contract TychoRouter is { return token == address(0) ? owner.balance : IERC20(token).balanceOf(owner); - } + }// forgefmt: disable-end /** * @dev Verifies that the expected amount of output tokens was received by the receiver.