valid seeds

This commit is contained in:
Hardhat Chad
2025-07-15 18:51:38 -07:00
parent 3e30ebb87d
commit 9470c573f3
2 changed files with 5 additions and 1 deletions

View File

@@ -131,13 +131,14 @@ pub fn process_mine(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
miner.total_rewards += reward_amount;
// Mint to recipient.
mint_to_signed(
mint_to_signed_with_bump(
mint_ore_info,
recipient_info,
treasury_info,
token_program,
reward_amount,
&[TREASURY],
TREASURY_BUMP,
)?;
// Emit event.