mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fix typos
This commit is contained in:
parent
b5f2f283a2
commit
1ee5ac78af
|
@ -58,7 +58,7 @@ export const getFeeDistributionParamsCommon = (
|
|||
receiver: tEthereumAddress
|
||||
): iBasicDistributionParams => {
|
||||
const receivers = [receiver, ZERO_ADDRESS];
|
||||
const percentages = ['200:0', '8000'];
|
||||
const percentages = ['2000', '8000'];
|
||||
return {
|
||||
receivers,
|
||||
percentages,
|
||||
|
@ -100,13 +100,11 @@ export const getWethAddress = async (config: ICommonConfiguration) => {
|
|||
const currentNetwork = DRE.network.name;
|
||||
const wethAddress = getParamPerNetwork(config.WETH, <eEthereumNetwork>currentNetwork);
|
||||
if (wethAddress) {
|
||||
console.log('here', wethAddress);
|
||||
return wethAddress;
|
||||
}
|
||||
if (currentNetwork.includes('main')) {
|
||||
throw new Error('WETH not set at mainnet configuration.');
|
||||
}
|
||||
const weth = await deployWETHMocked();
|
||||
console.log('here2');
|
||||
return weth.address;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user