This commit is contained in:
alex
2024-07-12 15:37:50 -07:00
parent 70a8c59688
commit f10d175707
2 changed files with 3 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ pub fn crown(signer: Pubkey, current_top_staker: Pubkey) -> Instruction {
/// Builds a mine instruction.
pub fn mine(
miner: Pubkey,
signer: Pubkey,
proof_authority: Pubkey,
bus: Pubkey,
solution: Solution,
@@ -257,7 +257,7 @@ pub fn mine(
Instruction {
program_id: crate::id(),
accounts: vec![
AccountMeta::new(miner, true),
AccountMeta::new(signer, true),
AccountMeta::new(bus, false),
AccountMeta::new_readonly(CONFIG_ADDRESS, false),
AccountMeta::new(proof, false),