Swap read_event read type for a slice isntead of a Vec
authorMatt Corallo <git@bluematt.me>
Sat, 1 Feb 2020 01:57:01 +0000 (20:57 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 10 Mar 2020 15:52:12 +0000 (11:52 -0400)
commit6f06858304c49742ad80216dd693e65f5c18ecbe
treee1d73bab86630e3970455314d8b7a605b8aab9ce
parent83c9eb4b9e0a461fee980fc6cc01d1b72597b2fa
Swap read_event read type for a slice isntead of a Vec

It looks like we don't currently use the Vec as a Vec, and can
happily take a slice, which makes things easier on the calling
side.
fuzz/src/full_stack.rs
lightning-net-tokio/src/lib.rs
lightning/src/ln/peer_handler.rs