Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion chainspecs/plain_spec_testfinney.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"tokenSymbol": "testTAO"
},
"forkBlocks": null,
"badBlocks": [],
"badBlocks": [
"0xb5359f22750dd90f088126226669ea4bfcfa802dbc5d7469d294e96cee9b0f17"
],
"codeSubstitutes": {},
"genesis": {
"runtimeGenesis": {
Expand Down
4 changes: 3 additions & 1 deletion chainspecs/raw_spec_testfinney.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"tokenSymbol": "testTAO"
},
"forkBlocks": null,
"badBlocks": [],
"badBlocks": [
"0xb5359f22750dd90f088126226669ea4bfcfa802dbc5d7469d294e96cee9b0f17"
],
"codeSubstitutes": {},
"genesis": {
"raw": {
Expand Down
7 changes: 6 additions & 1 deletion node/src/chain_spec/testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ pub fn finney_testnet_config() -> Result<ChainSpec, String> {
Ok(ChainSpec::builder(
wasm_binary,
Extensions {
bad_blocks: Some(HashSet::new()),
bad_blocks: Some(HashSet::from_iter(vec![
H256::from_str(
"0xb5359f22750dd90f088126226669ea4bfcfa802dbc5d7469d294e96cee9b0f17",
)
.unwrap(),
])),
..Default::default()
},
)
Expand Down
Loading