-
Notifications
You must be signed in to change notification settings - Fork 20
Description
β Description
When attempting to perform a swapSolForNft action using the CaptureV1 instruction in the mpl-hybrid program, the transaction fails with an insufficient funds error even though the wallet has sufficient SOL balance.
π Reproduction Steps
Use the mpl-hybrid SDK to configure a swap of SOL for an NFT.
Ensure escrow is correctly set with the required amounts (1 SOL for NFT + 1 SOL fee).
Initiate CaptureV1 instruction.
Observe error in logs and transaction simulation.
Log:
Program log: Instruction: Transfer
Program log: Error: insufficient funds
Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1
Program MPL4o4wMzndgh8T1NVDxELQCj5UQfYTYEkabX3wNKtb failed: custom program error: 0x1
Transaction : https://solscan.io/tx/2dr4Y4dx93eL8sguij9Q6LC5PMtSZguqzv77vMX5q6dBsa8jgSyFxPwBjcMqVChGtvJrm3p4nFYDrTvzZe9PXKhY?cluster=devnet