minor bug fix

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

View File

@ -184,7 +184,7 @@ abstract contract InstaLiteConnector is Events, Basic {
initialBalToken;
// TODO: add require conditions
if (setIds.length > 2) {
if (setIds.length >= 2) {
setUint(setIds[0], _stETHAmt);
setUint(setIds[1], _tokenAmt);
}