Skip to content

Commit b4e7f8a

Browse files
authored
Update AeolusV2.sol
1 parent aca4e60 commit b4e7f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/AeolusV2.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,6 @@ contract AeolusV2 is Ownable {
193193
_amount = cycBalance;
194194
}
195195
rewardToDistribute -= _amount;
196-
cycToken.transfer(_to, _amount);
196+
require(cycToken.transfer(_to, _amount), "failed to transfer cyc token");
197197
}
198198
}

0 commit comments

Comments
 (0)