Skip to content

Conversation

guibescos
Copy link
Contributor

This PR:

  • Cleans up the comments in resize_price_account
  • Adds an extra rent exemption check to make sure the lamport transfer worked (paranoid check)
  • Removes print statements.

@@ -35,12 +34,12 @@ pub struct PriceAccountWrapper {
}
impl PriceAccountWrapper {
pub fn initialize_time_machine(&mut self) -> Result<(), OracleError> {
msg!("implement me");
// TO DO
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could use the todo!() macro here.

@guibescos guibescos merged commit 36bae1a into main Aug 25, 2022
@guibescos guibescos deleted the cleanup-resize-price branch August 25, 2022 15:07
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