Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> bb35a0dc5d166f79665bf9c3f9ba973585aa8097b69b7ddb4076b80079ee1dc7:53:8
|
53 | storefront.acceptOffer(offerResourceID: offerID, nft: <-nft, receiver: self.ftReceiver)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 3c1c4b041ad18279.Offers:148:3
|
148 | offer.acceptOffer(nft: <-nft, receiver: receiver)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 3c1c4b041ad18279.Offers:307:18
|
307 | let payment <- self.provider.withdraw(amount: self.details.offeredAmount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: Amount withdrawn must be less than or equal than the balance of the Vault
--> f233dcee88fe0abe.FungibleToken:179:16
|
179 | self.balance >= amount:
| ^^^^^^^^^^^^^^^^^^^^^^