mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
Fix miminum share difficulty in Stratum Server (#3323)
This commit is contained in:
parent
93f5de3d29
commit
28644a63cf
1 changed files with 1 additions and 2 deletions
|
@ -568,8 +568,7 @@ impl Handler {
|
|||
|
||||
current_hash = latest_hash;
|
||||
// set the minimum acceptable share difficulty for this block
|
||||
state.minimum_share_difficulty =
|
||||
cmp::min(config.minimum_share_difficulty, state.current_difficulty);
|
||||
state.minimum_share_difficulty = config.minimum_share_difficulty;
|
||||
|
||||
// set a new deadline for rebuilding with fresh transactions
|
||||
deadline = Utc::now().timestamp() + config.attempt_time_per_block as i64;
|
||||
|
|
Loading…
Reference in a new issue