added payable modifier

This commit is contained in:
Thrilok Kumar 2020-12-10 05:34:42 +05:30
parent ef4dd82523
commit f58c3af583
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ contract BasicResolver is AaveHelpers {
* @dev Enable collateral
* @param tokens Array of tokens to enable collateral
*/
function enableCollateral(address[] calldata tokens) external {
function enableCollateral(address[] calldata tokens) external payable {
uint _length = tokens.length;
require(_length > 0, "0-tokens-not-allowed");

View File

@ -243,7 +243,7 @@ contract BasicResolver is AaveHelpers {
* @dev Enable collateral
* @param tokens Array of tokens to enable collateral
*/
function enableCollateral(address[] calldata tokens) external {
function enableCollateral(address[] calldata tokens) external payable {
uint _length = tokens.length;
require(_length > 0, "0-tokens-not-allowed");