impermax-sdk 2.1.45 → 2.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -115,7 +115,7 @@ class OnchainInteractionsPoolToken {
|
|
|
115
115
|
const { owner, spender } = this.getOwnerSpender();
|
|
116
116
|
const token = yield this.poolToken.getToken();
|
|
117
117
|
// experimental feature: check if the token supports permit by getting the DOMAIN_SEPARATOR
|
|
118
|
-
const domain = yield token.methods.DOMAIN_SEPARATOR();
|
|
118
|
+
const domain = yield token.methods.DOMAIN_SEPARATOR().call();
|
|
119
119
|
return this.getPermitHelper().getTokenPermit(token, owner, spender, amount, domain);
|
|
120
120
|
});
|
|
121
121
|
}
|