mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
guard against currentChain not set
This commit is contained in:
parent
0fcf508e17
commit
af8a720e90
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user