update test spec loading

This commit is contained in:
keorn
2016-09-14 11:20:22 +02:00
parent ddb6fec171
commit bedbe6e65e
2 changed files with 7 additions and 18 deletions

View File

@@ -271,11 +271,6 @@ impl Spec {
pub fn new_test_round() -> Self {
Spec::load(include_bytes!("../../res/authority_round.json") as &[u8]).expect("authority_round.json is invalid")
}
/// Create a new Spec with Tendermint consensus which does internal sealing (not requiring work).
pub fn new_test_tendermint() -> Self {
Spec::load(include_bytes!("../../res/tendermint.json") as &[u8]).expect("tendermint.json is invalid")
}
}
#[cfg(test)]