Fork Pancake Swap

Job ID: 32505983

Budget: €8 – €30 EUR

I made a pancke router frok: It works in the testnet but in the main I get the pancake k error when I go to swap. I would like to have a simple code review as I can't figure out what the error is.
Related categories: Solidity