minor bug fix

This commit is contained in:
Vaibhav Khanna 2022-06-11 02:47:53 +05:30 committed by GitHub
parent da4f5a1c44
commit f776a2fc16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);