Skip to content
Snippets Groups Projects
Commit 062668be authored by Anthony GRAIGNIC's avatar Anthony GRAIGNIC
Browse files

Merge branch 'change_network_difficulty' into 'dev'

Change network difficulty

See merge request !113
parents a1a4d7f3 72165768
Branches dev
1 merge request!113Change network difficulty
Pipeline #6850 passed
......@@ -185,6 +185,11 @@ where
} else {
parent_block_header.difficulty
};
let network_difficulty = if network_difficulty.eq(&U256::ZERO) {
U256::ONE
} else {
network_difficulty
};
let mut vdf_difficulty = prepare_work(
parent_block_header.parent_hash,
miner_behavior.behavior.clone(),
......
......@@ -48,7 +48,7 @@
gas_limit: 5000,
seal: Pob(
vanity: "0x5365706f6c69612c20417468656e732c204174746963612c2047726565636521",
difficulty: "0x64",
difficulty: "0xA",
nonce: "0x0000000000000000",
output: "0x0000000000000000000000000000000000000000000000000000000000000000",
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment