trufflesuite / truffle-artifactor

A contract packager for Ethereum and Javascript (formerly ether-pudding)
MIT License
253 stars 54 forks source link

Fix call of synchronous network getter with asynchronous callback. #45

Open jvah opened 7 years ago

jvah commented 7 years ago

Calling checkNetwork for contract classes generated by ether-pudding fail on trying to call synchronous network property asynchronously as a function. Changing it to getNetwork fixes the problem, I can try to find time to write some test if that is considered necessary.