diff --git a/lib/modules/deploytracker/index.js b/lib/modules/deploytracker/index.js index 6a8082e2d..ff50f29da 100644 --- a/lib/modules/deploytracker/index.js +++ b/lib/modules/deploytracker/index.js @@ -66,6 +66,7 @@ class DeployTracker { } getContract(contractName, code, args) { + if (!this.currentChain) return false; let contract = this.currentChain.contracts[utils.sha3(code + contractName + args.join(','))]; if (contract && contract.address === undefined) { return false;