Skip to content

Commit b5b1502

Browse files
committed
Bugfix, fix a typo in rewriting contractsReady()
1 parent e09bad8 commit b5b1502

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

utils/helpers.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports.contractsReady = function (context, instantMint = false) {
4242
const governor = Governor.attach(await membership.governor());
4343

4444
if (instantMint) {
45-
await membershipMintAndDelegate(membership, context);
45+
await module.exports.membershipMintAndDelegate(membership, context);
4646
}
4747

4848
// Create a test merkle tree
@@ -62,10 +62,7 @@ module.exports.contractsReady = function (context, instantMint = false) {
6262
});
6363
};
6464

65-
module.exports.membershipMintAndDelegate = async function membershipMintAndDelegate(
66-
membership,
67-
context
68-
) {
65+
module.exports.membershipMintAndDelegate = async function (membership, context) {
6966
await membership.updateAllowlist(context.rootHash);
7067
await membership.setupGovernor();
7168

0 commit comments

Comments
 (0)