mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: Fix testnet genesis url
This commit is contained in:
@ -10,7 +10,7 @@ use std::fs::File;
|
|||||||
use std::io::{Read, Write};
|
use std::io::{Read, Write};
|
||||||
|
|
||||||
pub(crate) fn load_hl_testnet() -> ChainSpec {
|
pub(crate) fn load_hl_testnet() -> ChainSpec {
|
||||||
const TESTNET_GENESIS_URL: &str = "https://raw.githubusercontent.com/sprites0/hl-testnet-genesis/main/19386700.rlp";
|
const TESTNET_GENESIS_URL: &str = "https://raw.githubusercontent.com/sprites0/hl-testnet-genesis/main/21043587.rlp";
|
||||||
|
|
||||||
fn download_testnet_genesis() -> Result<&'static str, Box<dyn std::error::Error>> {
|
fn download_testnet_genesis() -> Result<&'static str, Box<dyn std::error::Error>> {
|
||||||
let path = "/tmp/hl_testnet.rmp.lz4";
|
let path = "/tmp/hl_testnet.rmp.lz4";
|
||||||
|
|||||||
Reference in New Issue
Block a user