diff --git a/lib/modules/deploytracker/index.js b/lib/modules/deploytracker/index.js index ff50f29da..d6c89560e 100644 --- a/lib/modules/deploytracker/index.js +++ b/lib/modules/deploytracker/index.js @@ -59,6 +59,7 @@ class DeployTracker { } trackContract(contractName, code, args, address) { + if (!this.currentChain) return false; this.currentChain.contracts[utils.sha3(code + contractName + args.join(','))] = { name: contractName, address: address