File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1823,10 +1823,9 @@ impl PeerNetwork {
1823
1823
1824
1824
match self . can_register_peer ( & neighbor_key, outbound) {
1825
1825
Ok ( _) => {
1826
- info ! (
1827
- "Neighbor accepted! public key: {:?} address: {:?}" ,
1828
- pubkey_opt, neighbor_key. addrbytes
1829
- ) ;
1826
+ info ! ( "Neighbor accepted!" ;
1827
+ "public key" => ?pubkey_opt,
1828
+ "address" => %neighbor_key. addrbytes) ;
1830
1829
}
1831
1830
Err ( e) => {
1832
1831
debug ! (
@@ -1922,9 +1921,10 @@ impl PeerNetwork {
1922
1921
for ( nk, pubkh) in nk_remove. into_iter ( ) {
1923
1922
// remove event state
1924
1923
self . events . remove ( & nk) ;
1925
- info ! (
1926
- "Dropping neighbor! event id: {:?} public address: {:?} public key: {:?}" ,
1927
- event_id, pubkh, nk. addrbytes
1924
+ info ! ( "Dropping neighbor!" ;
1925
+ "event id" => %event_id,
1926
+ "public address" => %pubkh,
1927
+ "public key" => %nk. addrbytes
1928
1928
) ;
1929
1929
1930
1930
// remove inventory state
You can’t perform that action at this time.
0 commit comments