Fix kredits instance not being returned by init()

This commit is contained in:
2022-04-27 18:06:02 +02:00
parent 50b10dd46c
commit 23b30b7f8e

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;
}); });
} }