Skip to content

Commit a75d34d

Browse files
sunbreak1211telome
andauthored
Update src/Kicker.sol
Co-authored-by: telome <[email protected]>
1 parent 499f926 commit a75d34d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Kicker.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ contract Kicker {
102102
// --- execution ---
103103

104104
function flap() external returns (uint256 id) {
105-
require(_toInt256(vat.dai(address(vow))) >= _toInt256(vat.sin(address(vow))) + _toInt256(kbump) + khump, "Kicker/insufficient-allowance");
106-
vat.suck(address(vow), address(this), kbump);
105+
require(_toInt256(vat.dai(vow)) >= _toInt256(vat.sin(vow)) + _toInt256(kbump) + khump, "Kicker/insufficient-allowance");
106+
vat.suck(vow, address(this), kbump);
107107
id = splitter.kick(kbump, 0);
108108
}
109109
}

0 commit comments

Comments
 (0)