response data

This commit is contained in:
Hardhat Chad
2024-02-16 01:51:48 +00:00
parent f0964ddf97
commit 992ad9d2ab
3 changed files with 11 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ pub fn process_mine<'a, 'info>(
proof.total_hashes = proof.total_hashes.saturating_add(1);
proof.total_rewards = proof.total_rewards.saturating_add(1);
// Set return data
// Log the mined rewards
set_return_data(treasury.reward_rate.to_le_bytes().as_slice());
Ok(())