Merge pull request #79 from tonton-sol/mine-event-log-add-balance

add post balance to MineEvent log
This commit is contained in:
Hardhat Chad
2024-10-18 18:38:42 -05:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -242,6 +242,7 @@ pub fn process_mine(accounts: &[AccountInfo], data: &[u8]) -> ProgramResult {
difficulty: difficulty as u64,
reward: reward_actual,
timing: t.saturating_sub(t_liveness),
balance: proof.balance,
}
.to_bytes(),
);