mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix initialization bug in realT deployment
This commit is contained in:
parent
f52ea9154b
commit
736ff4c006
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user