mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixed issues before deployment
This commit is contained in:
parent
8d831d5ad7
commit
384f00f15e
|
@ -83,8 +83,9 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.')
|
||||||
|
|
||||||
const wethAddress = await getWethAddress(poolConfig);
|
const wethAddress = await getWethAddress(poolConfig);
|
||||||
const lendingPoolAddress = await addressesProvider.getLendingPool();
|
const lendingPoolAddress = await addressesProvider.getLendingPool();
|
||||||
|
if (network != 'mumbai' && network != 'matic') {
|
||||||
await deployWETHGateway([wethAddress, lendingPoolAddress]);
|
await deployWETHGateway([wethAddress, lendingPoolAddress]);
|
||||||
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user