Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 6c75dee58ffcf44bda1b96a83a4e222ee516091187fc81ee2d77bb65df58e07e:46:8
|
46 | LostAndFound.deposit(
47 | redeemer: recipient,
48 | item: <-resource,
49 | memo: memo,
50 | display: display,
51 | storagePayment: &storageFee as &FungibleToken.Vault,
52 | flowTokenRepayment: self.flowReceiver
53 | )
| ^
--> be4635353f55bbd4.LostAndFound:717:15
|
717 | return shelfManager.deposit(redeemer: redeemer, item: <-item, memo: memo, display: display, storagePayment: storagePayment, flowTokenRepayment: flowTokenRepayment)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: Amount withdrawn must be less than or equal than the balance of the Vault
--> 9a0766d93b6608b7.FungibleToken:198:16
|
198 | self.balance >= amount:
| ^^^^^^^^^^^^^^^^^^^^^^