Fix kredits instance not being returned by init()
This commit is contained in:
@@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user