From 0155c94f86b9cb5fce501ddc2bdcfcf997c567a9 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Fri, 23 Dec 2022 14:47:15 +1100 Subject: [PATCH] Fix code formatting --- beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs b/beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs index d69b42c0be..df5350d949 100644 --- a/beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs +++ b/beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs @@ -719,7 +719,10 @@ fn context_bytes_to_fork_name( let encoded = hex::encode(context_bytes); RPCError::ErrorResponse( RPCResponseErrorCode::InvalidRequest, - format!("Context bytes {} do not correspond to a valid fork", encoded), + format!( + "Context bytes {} do not correspond to a valid fork", + encoded + ), ) }) }