From f9c69932ee1a5d152bc8761d55e9496d3ded6ff1 Mon Sep 17 00:00:00 2001 From: oldchili <130549691+oldchili@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:00:40 +0300 Subject: [PATCH] Minor changes --- src/funnels/automation/ConduitMover.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/funnels/automation/ConduitMover.sol b/src/funnels/automation/ConduitMover.sol index 3c7f1e5a..610bfd4d 100644 --- a/src/funnels/automation/ConduitMover.sol +++ b/src/funnels/automation/ConduitMover.sol @@ -102,7 +102,9 @@ contract ConduitMover { if (from != buffer) { require(ConduitLike(from).withdraw(ilk, gem, cfg.lot) == cfg.lot, "ConduitMover/lot-withdraw-failed"); } - if (to != buffer) ConduitLike(to).deposit(ilk, gem, cfg.lot); + if (to != buffer) { + ConduitLike(to).deposit(ilk, gem, cfg.lot); + } emit Move(from, to, gem, cfg.lot); }