Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: panic: Invalid trade
--> 8f326c4e373919cd8a043eb767a8d6af6e46992a9ff36e3a2c45ba28d3306c58:34:66
|
34 | let trade = self.trader.borrowTrade(tradeResourceID: id) ?? panic("Invalid trade")
| ^^^^^^^^^^^^^^^^^^^^^^