MolochVentures / moloch

👹 Moloch whose mind is pure machinery! Moloch whose blood is running money!
MIT License
673 stars 264 forks source link

moloch.approvedToken is not a function #114

Open xxbtc opened 2 years ago

xxbtc commented 2 years ago

Getting an error when trying to deploy a pool, any ideas anyone?

npx hardhat pool-deploy --network develop --shares 100 --tokens 100

An unexpected error occurred: TypeError: moloch.approvedToken is not a function at getApprovedToken (/dao/moloch/scripts/utils.js:47:37) at processTicksAndRejections (node:internal/process/task_queues:96:5)

I did set the correct address in hardhat.config.js after the dao was deployed