Skip to content

Commit

Permalink
fix settle lp test
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Nov 28, 2023
1 parent 2f67405 commit 7e13289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ async def test_add_remove_liquidity(
user_account = drift_client.get_user(0).get_user_account()
assert user_account.perp_positions[0].lp_shares == n_shares

await drift_client.settle_lp(drift_client.authority, 0)
await drift_client.settle_lp(drift_client.get_user_account_public_key(), 0)

await drift_client.remove_liquidity(n_shares, 0)
await drift_client.get_user(0).account_subscriber.update_cache()
Expand Down

0 comments on commit 7e13289

Please sign in to comment.