Use ethers from correct parent object

This commit is contained in:
Râu Cao
2022-08-31 09:55:26 +02:00
committed by hueso
parent b5c0dd5ae0
commit 62af06c3f8

View File

@@ -7,7 +7,7 @@ async function main() {
console.log(`Using Contribution at: ${kredits.Contribution.contract.address}`);
const count = await kredits.Contribution.count;
const currentBlockHeight = await XMLHttpRequest.ethers.provider.getBlockNumber();
const currentBlockHeight = await hre.ethers.provider.getBlockNumber();
const backup = {};
const promises = [];