Skip to content

program: Update current scaled ui amount to new#522

Merged
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:updateoldnew
Jun 25, 2025
Merged

program: Update current scaled ui amount to new#522
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:updateoldnew

Conversation

@joncinque
Copy link
Copy Markdown
Contributor

Problem

When updating the multiplier in the scaled ui amount extension, the new multiplier just gets overridden, even if it should be the active multiplier (ie. the active timestamp has passed).

Summary of changes

During the update instruction, also update the current multiplier with the new multiplier, if enough time has passed.

cc @gitteri

#### Problem

When updating the multiplier in the scaled ui amount extension, the new
multiplier just gets overridden, even if it should be the active
multiplier (ie. the active timestamp has passed).

#### Summary of changes

During the update instruction, also update the current multiplier with
the new multiplier, if enough time has passed.
@joncinque joncinque requested a review from samkim-crypto June 24, 2025 23:48
@joncinque joncinque merged commit 38baab6 into solana-program:main Jun 25, 2025
20 checks passed
@joncinque joncinque deleted the updateoldnew branch June 25, 2025 09:50
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.

3 participants