# Self-destructed contract, how to get LP dissolved / BNB back from pancake

**URL:** <https://forum.openzeppelin.com/t/self-destructed-contract-how-to-get-lp-dissolved-bnb-back-from-pancake/8348>\
**Category:** General\
**Created:** [May 14, 2021, 12:13am UTC](https://forum.openzeppelin.com/t/self-destructed-contract-how-to-get-lp-dissolved-bnb-back-from-pancake/8348 "2021-05-14T00:13:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mar17](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@mar17](https://forum.openzeppelin.com/u/mar17)\
**Post date:** [May 14, 2021, 12:13am UTC](https://forum.openzeppelin.com/t/self-destructed-contract-how-to-get-lp-dissolved-bnb-back-from-pancake/8348/1 "2021-05-14T00:13:58Z")

</div>

Hey guys, I self-destructed my contract before removing the LPs from pancake swap.  
Can you tell me how to get back the BNB from the LP? I’m trying using the function removeLiquidityETH from the pancake router, but if fails (I’ve removed some of the date like my address):  
“contractAddress”: null  
“gasUsed”: 27646  
“logsBloom”: “0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000”  
“status”: false  
“to”: “0x10ed43c718714eb63d5aa57b78b54704e256024e”  
“transactionIndex”: 372  
“events”: {}

Please help me, I’ve stuck my funds in there 😕

---

<div class="post-metadata">

**Author:** ![Yoshiko](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/yoshiko/32/6858_2.png) [@Yoshiko](https://forum.openzeppelin.com/u/Yoshiko)\
**Post date:** [May 14, 2021, 9:49am UTC](https://forum.openzeppelin.com/t/self-destructed-contract-how-to-get-lp-dissolved-bnb-back-from-pancake/8348/2 "2021-05-14T09:49:28Z")

</div>

Welcome @mar17 to the Open Zeppelin Forums.

Please update with more information. I need your contract address.

If this is regarding SafeMoon Clones then you must use the Search bar and look for answers given in other topics.

Please refer to

> [@PSA Regarding SafeMoon Forks on PancakeSwap - Transfers not working? Read This!](https://forum.openzeppelin.com/t/psa-regarding-safemoon-forks-on-pancakeswap-transfers-not-working-read-this/7692):
>
> Recently PancakeSwap has migrated to V2. You can migrate to V2 following the guide. [https://medium.com/beefyfinance/pancakeswap-migration-2d599e262900](https://medium.com/beefyfinance/pancakeswap-migration-2d599e262900) The V2 router is now [https://bscscan.com/address/0x10ed43c718714eb63d5aa57b78b54704e256024e](https://bscscan.com/address/0x10ed43c718714eb63d5aa57b78b54704e256024e) However if you are already on V1, you will want to stay on V1 if possible because there is a problem with SafeMoon code in that the V1 router for PancakeSwap was hardcoded in. Line 758 [https://bscscan.com/address/0x8076c74c5e3f5852037f31ff0093eeb8c8add…](https://bscscan.com/address/0x8076c74c5e3f5852037f31ff0093eeb8c8add8d3#code)

It’s either SwapAndLiquify needs to be set to False or MaxTxPercent needs to be set to 100.

If you have rejected ownership then you likely cannot get the liquidity back.
