Skip to content

Commit

Permalink
Release tendermint-p2p crate (#716)
Browse files Browse the repository at this point in the history
* Add rudimentary README for tendermint-p2p crate

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Fix clippy warning

Signed-off-by: Thane Thomson <connect@thanethomson.com>
  • Loading branch information
thanethomson committed Nov 30, 2020
1 parent 5757591 commit e334fb7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions p2p/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[![Crate][crate-image]][crate-link]
[![Docs][docs-image]][docs-link]

See the [repo root] for build status, license, Rust version, etc.

# tendermint-p2p

The Tendermint P2P stack.

[//]: # (badges)

[crate-image]: https://img.shields.io/crates/v/tendermint-p2p.svg
[crate-link]: https://crates.io/crates/tendermint-p2p
[docs-image]: https://docs.rs/tendermint-p2p/badge.svg
[docs-link]: https://docs.rs/tendermint-p2p/

[//]: # (general links)

[repo root]: https://github.com/informalsystems/tendermint-rs
2 changes: 1 addition & 1 deletion p2p/src/secret_connection/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ impl Version {
"malformed handshake message (protocol version mismatch?): {}",
e
);
return Report::new(Error::ProtocolError).wrap_err(message);
Report::new(Error::ProtocolError).wrap_err(message)
})
} else {
self.decode_auth_signature_amino(bytes)
Expand Down

0 comments on commit e334fb7

Please sign in to comment.