This commit is contained in:
bumi 2018-04-26 13:50:38 +02:00
parent 418785059c
commit 52643da096

View File

@ -29,7 +29,7 @@ class Kredits {
this.signer = signer; this.signer = signer;
// by default we only need the registry address. // by default we only need the registry address.
// the rest is loaded from there in the init() function // the rest is loaded from there in the init() function
this.addresses = addresses || { Registry: RegistryAddress[this.provider.chainId.toString()] }; // chaiID must be a string this.addresses = addresses || { Registry: RegistryAddress[this.provider.chainId.toString()] }; // chainID must be a string
this.abis = abis || ABIS; this.abis = abis || ABIS;
this.ipfs = new IPFS(ipfsConfig); this.ipfs = new IPFS(ipfsConfig);
this.contracts = {}; this.contracts = {};