mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 07:26:51 +00:00
one hash
This commit is contained in:
@@ -41,5 +41,8 @@ pub fn process_mine(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
|
||||
block.best_hash_miner = *miner_info.key;
|
||||
}
|
||||
|
||||
// Only allow miners to submit 1 hash per block.
|
||||
miner.hashpower = 0;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user