I created a smart contract for doing flash swaps on PancakeSwap and it is working fine.
However, when I try to do swapExactTokensForTokens inside the pancakeCall I get the following error: "execution reverted: Pancake: LOCKED".
Does PancakeSwap not allow to do swaps after receiving the loan?