Skip to content

Commit

Permalink
refund 10 eth to the contract
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhodl committed Oct 17, 2023
1 parent 8bb475a commit c8949c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function main() {
console.log("storage contract address is ", storageContract.address);

// fund 1 eth into the storage contract to give reward for empty mining
const tx = await storageContract.sendValue({ value: ethers.utils.parseEther("1") });
const tx = await storageContract.sendValue({ value: ethers.utils.parseEther("10") });
await tx.wait();
console.log("balance of " + storageContract.address, await hre.ethers.provider.getBalance(storageContract.address));
}
Expand Down

0 comments on commit c8949c7

Please sign in to comment.