This commit is contained in:
Hardhat Chad
2025-06-25 16:26:54 -05:00
parent 27c956c7b4
commit 470cca04c4
4 changed files with 19 additions and 7 deletions

View File

@@ -63,6 +63,7 @@ pub fn process_open(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
)?;
let block = block_info.as_account_mut::<Block>(&ore_api::ID)?;
block.id = id;
block.opener = *signer_info.key;
block.reward = RewardConfig {
lode_hash: [0; 32],
lode_authority: Pubkey::default(),