Fix kredits instance not being returned by init()

This commit is contained in:
Basti 2022-04-27 18:06:02 +02:00
parent 50b10dd46c
commit 23b30b7f8e
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -48,6 +48,7 @@ class Kredits {
if (Object.keys(this.addresses).length === 0) { if (Object.keys(this.addresses).length === 0) {
this.addresses = Addresses[network.chainId.toString()]; this.addresses = Addresses[network.chainId.toString()];
} }
return this;
}); });
} }