get10101 / 10101

10101 (Ten-Ten-One): Self-custodial derivative trading at your fingertips.
https://10101.finance
MIT License
124 stars 21 forks source link

Consider not checking current state before state transition #2599

Open luckysori opened 1 month ago

luckysori commented 1 month ago

If we always assume that there is ever only one position, we might want to consider removing this filter as it would potentially only lead to errors if the position is not in the state we assume it should be.

_Originally posted by @holzeis in https://github.com/get10101/10101/pull/2584#discussion_r1620221897_

holzeis commented 1 month ago

I guess that ticket will get obsolete once we get rid of the position state.

github-actions[bot] commented 1 day ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.