fix initialization bug in realT deployment

This commit is contained in:
shivani 2021-10-21 20:13:09 +05:30
parent f52ea9154b
commit 736ff4c006

View File

@ -115,7 +115,7 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.')
let gateWay = getParamPerNetwork(WethGateway, network); let gateWay = getParamPerNetwork(WethGateway, network);
if (!notFalsyOrZeroAddress(gateWay)) { if (!notFalsyOrZeroAddress(gateWay)) {
if (pool === ConfigNames.Arc) { if (pool === ConfigNames.Arc || pool === ConfigNames.RealT) {
gateWay = (await getPermissionedWETHGateway()).address; gateWay = (await getPermissionedWETHGateway()).address;
} else { } else {
gateWay = (await getWETHGateway()).address; gateWay = (await getWETHGateway()).address;