mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
reformated mutliUnprovide
This commit is contained in:
parent
36fe5adc31
commit
b6718b7954
|
@ -356,15 +356,13 @@ contract GelatoResolver is GelatoHelpers {
|
|||
{
|
||||
uint256 withdrawAmount = getUint(_getId, _withdrawAmount);
|
||||
uint256 balanceBefore = address(this).balance;
|
||||
uint256 actualWithdrawAmount;
|
||||
IGelatoInterface(getGelatoCoreAddr()).multiUnprovide(
|
||||
withdrawAmount,
|
||||
_taskSpecs,
|
||||
_modules
|
||||
);
|
||||
|
||||
actualWithdrawAmount = sub(address(this).balance, balanceBefore);
|
||||
setUint(_setId, actualWithdrawAmount);
|
||||
uint256 actualWithdrawAmount = sub(address(this).balance, balanceBefore);
|
||||
setUint(_setId, actualWithdrawAmount);
|
||||
|
||||
emit LogMultiUnprovide(_taskSpecs, _modules, actualWithdrawAmount, _getId, _setId);
|
||||
bytes32 _eventCode = keccak256(
|
||||
|
|
Loading…
Reference in New Issue
Block a user