Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadApprovalStatusForOrder returning false for the taker #113

Open
Azraellx opened this issue Feb 25, 2024 · 0 comments
Open

loadApprovalStatusForOrder returning false for the taker #113

Azraellx opened this issue Feb 25, 2024 · 0 comments

Comments

@Azraellx
Copy link

Neither these two functions seem to be returning the correct result (true). I've confirmed the inputs and have confirmed the approve limits on revoke.cash. Notably, it's only on the taker side this is occurring.

const amount = ethers.BigNumber.from(bundle[0].amount);
return await nftSwapSdk.loadApprovalStatus(bundle[0], signerAddress, undefined, {
   approvalAmount: amount,
});
const approvalStatus = await nftSwapSdk.loadApprovalStatusForOrder(
   signed_order,
   "TAKER"
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant