Fix old registry reference

This commit is contained in:
bumi 2019-03-29 12:06:43 +01:00
parent 4bd1aed197
commit a45be0021e

View File

@ -50,8 +50,9 @@ class Kredits {
return this.Kernel.getApp(contractName).then((address) => { return this.Kernel.getApp(contractName).then((address) => {
this.addresses[contractName] = address; this.addresses[contractName] = address;
}).catch((error) => { }).catch((error) => {
throw new Error(`Failed to get address for ${contractName} from registry at ${this.Registry.contract.address} console.log(error);
- correct registry? does it have version entry? - ${error.message}` throw new Error(`Failed to get address for ${contractName} from DAO at ${this.Kernel.contract.address}
- ${error.message}`
); );
}); });
}); });