We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 499f926 commit a75d34dCopy full SHA for a75d34d
src/Kicker.sol
@@ -102,8 +102,8 @@ contract Kicker {
102
// --- execution ---
103
104
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);
+ require(_toInt256(vat.dai(vow)) >= _toInt256(vat.sin(vow)) + _toInt256(kbump) + khump, "Kicker/insufficient-allowance");
+ vat.suck(vow, address(this), kbump);
107
id = splitter.kick(kbump, 0);
108
}
109
0 commit comments