mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Trivial formatting fixes
This commit is contained in:
parent
e4ca924b47
commit
a37e2b99fb
2 changed files with 11 additions and 11 deletions
|
@ -202,7 +202,7 @@ impl Connection {
|
||||||
|
|
||||||
/// Utility function to send any Writeable. Handles adding the header and
|
/// Utility function to send any Writeable. Handles adding the header and
|
||||||
/// serialization.
|
/// serialization.
|
||||||
pub fn send_msg<W: ser::Writeable> (&self, t: Type, body: &W) -> Result<(), Error> {
|
pub fn send_msg<W: ser::Writeable>(&self, t: Type, body: &W) -> Result<(), Error> {
|
||||||
|
|
||||||
let mut body_data = vec![];
|
let mut body_data = vec![];
|
||||||
try!(ser::serialize(&mut body_data, body));
|
try!(ser::serialize(&mut body_data, body));
|
||||||
|
|
Loading…
Reference in a new issue