mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-16 07:26:51 +00:00
Enable universal boost (#126)
* disable boosts for migration * renable new boosts * take rate * enable universal boost * bump version
This commit is contained in:
@@ -56,7 +56,6 @@ pub fn mine(
|
||||
authority: Pubkey,
|
||||
bus: Pubkey,
|
||||
solution: Solution,
|
||||
boost: Pubkey,
|
||||
boost_config: Pubkey,
|
||||
) -> Instruction {
|
||||
let proof = proof_pda(authority).0;
|
||||
@@ -67,9 +66,8 @@ pub fn mine(
|
||||
AccountMeta::new(proof, false),
|
||||
AccountMeta::new_readonly(sysvar::instructions::ID, false),
|
||||
AccountMeta::new_readonly(sysvar::slot_hashes::ID, false),
|
||||
AccountMeta::new_readonly(boost, false),
|
||||
AccountMeta::new(proof_pda(boost).0, false),
|
||||
AccountMeta::new_readonly(boost_config, false),
|
||||
AccountMeta::new(proof_pda(boost_config).0, false),
|
||||
];
|
||||
Instruction {
|
||||
program_id: crate::ID,
|
||||
|
||||
Reference in New Issue
Block a user