Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oldchili committed Oct 10, 2023
1 parent 3e1c864 commit f9c6993
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/funnels/automation/ConduitMover.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f9c6993

Please sign in to comment.