]> git.bitcoin.ninja Git - rust-lightning/commit
Drop AsRef<[u8]> implementation for TlvRecord
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 22 Dec 2022 15:04:48 +0000 (09:04 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 18 Jan 2023 21:31:48 +0000 (15:31 -0600)
commitbd0040a02bb7d4884ea4c3b5d731a9fb90c65b84
tree0e3892b1daca51d4865b7b3e137b941d89ae9b3b
parentad40573bc4425ac6dc6ec05eb66eb9de9e600780
Drop AsRef<[u8]> implementation for TlvRecord

Explicitly using TlvRecord::record_bytes makes reading the code more
obvious than hiding which bytes are used in AsRef<[u8]>::as_ref.
lightning/src/offers/merkle.rs