nicer bundled spec message
This commit is contained in:
parent
d8e6dbd981
commit
0b5a9a6e60
@ -137,7 +137,7 @@ impl From<ethjson::spec::Spec> for Spec {
|
|||||||
|
|
||||||
macro_rules! load_bundled {
|
macro_rules! load_bundled {
|
||||||
($e:expr) => {
|
($e:expr) => {
|
||||||
Spec::load(include_bytes!(concat!("../../res/", $e, ".json")) as &[u8]).expect("Chain spec is invalid")
|
Spec::load(include_bytes!(concat!("../../res/", $e, ".json")) as &[u8]).expect(concat!("Chain spec ", $e, " is invalid."))
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user