Skip to content

Commit

Permalink
Update astroport.py (hodgerpodger#230)
Browse files Browse the repository at this point in the history
fix LP withdraw
  • Loading branch information
fentas authored Jan 29, 2023
1 parent d66bf09 commit 79e44d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/staketaxcsv/luna2/contracts/astroport.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def _handle_withdraw_liquidity(txinfo, msginfo):

# Create CSV rows
rows = [
staketaxcsv.common.make_tx.make_lp_withdraw_tx(txinfo, rec_amount_1, rec_currency_1, lp_amount / 2, lp_currency),
staketaxcsv.common.make_tx.make_lp_withdraw_tx(txinfo, rec_amount_2, rec_currency_2, lp_amount / 2, lp_currency)
staketaxcsv.common.make_tx.make_lp_withdraw_tx(txinfo, lp_amount / 2, lp_currency, rec_amount_1, rec_currency_1),
staketaxcsv.common.make_tx.make_lp_withdraw_tx(txinfo, lp_amount / 2, lp_currency, rec_amount_2, rec_currency_2)
]

return rows
Expand Down

0 comments on commit 79e44d2

Please sign in to comment.