Skip to content

Commit aab0493

Browse files
committed
up
1 parent 6d90236 commit aab0493

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mint/src/check/consensus.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn impl_blk_found(this: &HacashMinter, curblkhead: &dyn BlockRead, sto: &BlockSt
4646
let cblkhx = curblkhead.hash();
4747
if curhei % blkspan == 0 {
4848
let (_, difnum, _) = this.difficulty.req_cycle_block(curhei - 1, sto);
49-
let bign = u32_to_biguint(difnum).div(4usize); // min is 1/4
49+
let bign = u32_to_biguint(difnum).mul(4usize); // max is 4 times
5050
let mindiffhx = biguint_to_hash(&bign);
5151
if hash_big_than(cblkhx.as_ref(), &mindiffhx) {
5252
return errf!("block found {} PoW hashrates check failed cannot more than {} but got {}",

src/version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
const HACASH_NODE_VERSION: &str = "0.2.12";
4-
const HACASH_NODE_BUILD_TIME: &str = "2025/03/09(1)";
4+
const HACASH_NODE_BUILD_TIME: &str = "2025/03/10(1)";
55
#[allow(unused)]
66
const HACASH_STATE_DB_UPDT: u32 = 1;
77

0 commit comments

Comments
 (0)