-
Notifications
You must be signed in to change notification settings - Fork 0
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
added delegate_mining
check
#38
Conversation
Also take a look on this metaplex-foundation/aura-staking#26 pr |
It quite raw but I need your review to continue |
program_id, | ||
delegate_wallet_addr, | ||
reward_pool.key, | ||
WrappedMining::from_bytes_mut(&mut delegate_mining.data.borrow_mut())? |
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.
This doesn't have to be a mutable. We have a very special WrappedImmutableMining for this
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.
change_delegate is not handled
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.
LGTM
Good job. Pls don't forget about TODOs
added
delegate_mining
check. let a few todos with questions for reviewers