From f23b02e681fd9325113ca87304cead99bc2d72a2 Mon Sep 17 00:00:00 2001 From: cavemanloverboy Date: Sun, 7 Apr 2024 19:12:01 -0700 Subject: [PATCH] enable mining parallelism --- src/instruction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instruction.rs b/src/instruction.rs index 6c88c2d..ca052d7 100644 --- a/src/instruction.rs +++ b/src/instruction.rs @@ -216,7 +216,7 @@ pub fn mine(signer: Pubkey, bus: Pubkey, hash: Hash, nonce: u64) -> Instruction AccountMeta::new(signer, true), AccountMeta::new(bus, false), AccountMeta::new(proof, false), - AccountMeta::new(TREASURY_ADDRESS, false), + AccountMeta::new_readonly(TREASURY_ADDRESS, false), AccountMeta::new_readonly(sysvar::slot_hashes::id(), false), ], data: [