mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-17 15:10:21 +00:00
no log
This commit is contained in:
@@ -153,20 +153,6 @@ pub fn process_reset(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResul
|
||||
|
||||
// Reset the motherlode if it was activated.
|
||||
if round.did_hit_motherlode(r) {
|
||||
// Log the motherlode event.
|
||||
program_log(
|
||||
&[board_info.clone(), ore_program.clone()],
|
||||
MotherlodeEvent {
|
||||
disc: 2,
|
||||
amount: treasury.motherlode,
|
||||
round_id: round.id,
|
||||
num_miners: 0,
|
||||
ts: clock.unix_timestamp,
|
||||
}
|
||||
.to_bytes(),
|
||||
)?;
|
||||
|
||||
// Reset the motherlode.
|
||||
round.motherlode = treasury.motherlode;
|
||||
treasury.motherlode = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user