nft-swap-sdk icon indicating copy to clipboard operation
nft-swap-sdk copied to clipboard

loadApprovalStatusForOrder returning `false` for the taker

Open Azraellx opened this issue 1 year ago • 0 comments

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

Azraellx avatar Feb 25 '24 05:02 Azraellx