mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 15:10:13 +00:00
cleanup
This commit is contained in:
@@ -29,13 +29,13 @@ pub fn process_initialize(accounts: &[AccountInfo<'_>], _data: &[u8]) -> Program
|
||||
&[BOARD],
|
||||
)?;
|
||||
let board = board_info.as_account_mut::<Board>(&ore_api::ID)?;
|
||||
board.commits = [0; 25];
|
||||
board.prospects = [0; 25];
|
||||
board.id = 0;
|
||||
board.start_at = 0;
|
||||
board.start_slot = 0;
|
||||
board.end_slot = 0;
|
||||
board.slot_hash = [0; 32];
|
||||
board.top_winner = Pubkey::default();
|
||||
board.top_miner = Pubkey::default();
|
||||
board.total_prospects = 0;
|
||||
board.total_vaulted = 0;
|
||||
board.total_winnings = 0;
|
||||
|
||||
Reference in New Issue
Block a user