-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
program: add-spot-insurance-activity-tracking #1127
program: add-spot-insurance-activity-tracking #1127
Conversation
@@ -149,7 +149,8 @@ pub fn handle_initialize_user<'c: 'info, 'info>( | |||
|
|||
let now_ts = Clock::get()?.unix_timestamp; | |||
|
|||
user.last_fuel_bonus_update_ts = now_ts; | |||
user_stats.last_fuel_if_bonus_update_ts = now_ts.cast()?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this only happen if user stats is zero? so it doesnt over write second time user stats is created? or it should just be in init user stats
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yeah it should probably just be on init user stats
No description provided.