make all functions payable so they can be composed with payable functions

This commit is contained in:
Edward Mulraney 2021-07-30 10:31:46 +01:00
parent f37b863815
commit f81af1743e

View File

@ -326,7 +326,7 @@ abstract contract LiquityResolver is Events, Helpers {
uint setWithdrawId,
uint setEthGainId,
uint setLqtyGainId
) external returns (string memory _eventName, bytes memory _eventParam) {
) external payable returns (string memory _eventName, bytes memory _eventParam) {
amount = getUint(getWithdrawId, amount);
amount = amount == uint(-1) ? stabilityPool.getCompoundedLUSDDeposit(address(this)) : amount;