Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
channing-magiceden committed Feb 15, 2024
1 parent 4f37099 commit 431f815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dev/getContractCodehash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const getContractCodehash = async (
) => {
const [signer] = await hre.ethers.getSigners();
const provider = signer.provider;
let code = await provider!.getCode(args.contract);
const code = await provider!.getCode(args.contract);
const codehash = hre.ethers.utils.keccak256(code);
console.log(codehash);
}

0 comments on commit 431f815

Please sign in to comment.