mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 07:26:51 +00:00
valid seeds
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user