]> git.bitcoin.ninja Git - rust-lightning/commit
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>
Mon, 3 Feb 2020 02:38:53 +0000 (21:38 -0500)
commita28c0c1f895b3df820dd8698192aca2370cbd664
treec1c38d400fb8e84bc33e338c49c86864b03f8aa7
parent33c60629c4bb0a8ea1d43e077a5bd767446b973e
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