Skip to content

Conversation

guibescos
Copy link
Contributor

I'm refactoring the gating of the sma feature. To make sure we never go into this part of the code in production.
resize_price_account is still available but:

  1. Requires a price account signature
  2. If an account is resized our code keeps working, because our code only checks that account.data.len() >= MINIMUM_SIZE

@guibescos guibescos marked this pull request as ready for review September 22, 2022 22:04
@guibescos guibescos merged commit 9d1b2ec into main Sep 22, 2022
@guibescos guibescos deleted the refactor-sma-safeguard branch September 22, 2022 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants