Bumped reed-solomon-erasure crate version, fixed Protobuf error in example.

This commit is contained in:
Peter van Nostrand 2018-05-20 19:39:47 -04:00
parent 19b982284b
commit 465f17d9a5
2 changed files with 2 additions and 3 deletions

View File

@ -13,8 +13,7 @@ log = "0.4.1"
merkle = { git = "https://github.com/afck/merkle.rs", branch = "public-proof" }
protobuf = { version = "2.0.0", optional = true }
rand = "0.4.2"
# reed-solomon-erasure = "3.0"
reed-solomon-erasure = { git = "https://github.com/darrenldl/reed-solomon-erasure.git", branch = "dev" }
reed-solomon-erasure = "3.1.0"
ring = "^0.12"
serde = "1.0.55"
serde_derive = { version = "1.0.55", optional = true }

View File

@ -85,7 +85,7 @@ impl<'a, P: Message + 'a, M: Into<P> + From<P> + Send + 'a> CommsTask<'a, P, M>
message: message.into(),
}).unwrap();
}
Err(proto_io::Error::Protobuf(e)) => {
Err(proto_io::Error(proto_io::ErrorKind::Protobuf(e), _)) {
warn!("Node {} - Protobuf error {}", node_index, e)
}
Err(e) => {