]> git.bitcoin.ninja Git - rust-lightning/commit
[peer_handler] Drop unused return from get_peer_for_forwarding!() 2021-06-p2p-fixes
authorMatt Corallo <git@bluematt.me>
Mon, 21 Jun 2021 18:48:51 +0000 (18:48 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 21 Jun 2021 19:45:17 +0000 (19:45 +0000)
commit895d1a8504a436904ac3f06b009137e480c21a09
tree92e74fb2bc4e6c552083e07a932334453e896f58
parentf76e14c4256550f39421ec0ed14bbe796d072f13
[peer_handler] Drop unused return from get_peer_for_forwarding!()

This avoids a now-unnecessary SocketDescriptor clone() call in
addition to cleaning up the callsite code somewhat.
lightning/src/ln/peer_handler.rs