scaffold deregister

This commit is contained in:
Hardhat Chad
2024-05-01 02:26:02 +00:00
parent cf4d0e1d05
commit 5d1b1a56aa
6 changed files with 51 additions and 4 deletions

View File

@@ -64,6 +64,7 @@ pub fn process_register<'a, 'info>(
&slot_hashes_info.data.borrow()[0..size_of::<SlotHash>()],
])
.0;
proof.last_deposit_slot = 0;
proof.last_hash_at = 0;
proof.total_hashes = 0;
proof.total_rewards = 0;