pancakeswap / pancake-swap-periphery

GNU General Public License v3.0
190 stars 458 forks source link

Pancake Swap Router failed to output any BNB back to originating wallet address (lost ~$507 worth of BNB on a 3.275 FIL for 1.21 BNB swap) #2

Open s1mple opened 3 years ago

s1mple commented 3 years ago

My swap of 3.275 FIL for 1.21 BNB succeeded at withdrawing input FIL coin but failed to output any BNB from the router back to my wallet. The money never showed up, and the FIL coin is gone from the wallet. Take a look at the transaction here:

https://bscscan.com/tx/0x9622b50f8e702cfca538cfd3e2612132491453d8656ac002bad652ce6576fddc

Any ideas how this could happen and why the router didn't output any BNB? Kinda bummed about losing $500 bucks after doing so many swaps flawlessly - I just didn't think to test every pair I swapped with a micro transaction :/

andrew287 commented 2 years ago

does the code work?

BlueCute commented 2 years ago

Hey, just read this. It may explain everything. https://medium.com/remix-ide/remix-in-youtube-crypto-scams-71c338da32d