Fix typos

This commit is contained in:
David Racero 2020-11-06 12:14:41 +01:00
parent b5f2f283a2
commit 1ee5ac78af

View File

@ -58,7 +58,7 @@ export const getFeeDistributionParamsCommon = (
receiver: tEthereumAddress receiver: tEthereumAddress
): iBasicDistributionParams => { ): iBasicDistributionParams => {
const receivers = [receiver, ZERO_ADDRESS]; const receivers = [receiver, ZERO_ADDRESS];
const percentages = ['200:0', '8000']; const percentages = ['2000', '8000'];
return { return {
receivers, receivers,
percentages, percentages,
@ -100,13 +100,11 @@ export const getWethAddress = async (config: ICommonConfiguration) => {
const currentNetwork = DRE.network.name; const currentNetwork = DRE.network.name;
const wethAddress = getParamPerNetwork(config.WETH, <eEthereumNetwork>currentNetwork); const wethAddress = getParamPerNetwork(config.WETH, <eEthereumNetwork>currentNetwork);
if (wethAddress) { if (wethAddress) {
console.log('here', wethAddress);
return wethAddress; return wethAddress;
} }
if (currentNetwork.includes('main')) { if (currentNetwork.includes('main')) {
throw new Error('WETH not set at mainnet configuration.'); throw new Error('WETH not set at mainnet configuration.');
} }
const weth = await deployWETHMocked(); const weth = await deployWETHMocked();
console.log('here2');
return weth.address; return weth.address;
}; };