mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
minor bug fix
This commit is contained in:
parent
da4f5a1c44
commit
f776a2fc16
|
@ -158,7 +158,7 @@ abstract contract InstaLiteConnector is Events, Basic {
|
|||
payable
|
||||
returns (string memory _eventName, bytes memory _eventParam)
|
||||
{
|
||||
require(getIds.length > 2, "invalid get-ids length");
|
||||
require(getIds.length >= 2, "invalid get-ids length");
|
||||
uint256 _deleverageAmt = getUint(getIds[0], deleverageAmount);
|
||||
uint256 _withdrawAmount = getUint(getIds[1], withdrawAmount);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user