]> git.bitcoin.ninja Git - rust-lightning/commit
panic!() when serializing OnionHopDatas with value > 21m BTC
authorMatt Corallo <git@bluematt.me>
Sat, 21 Mar 2020 22:49:30 +0000 (18:49 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 15 Apr 2020 00:50:42 +0000 (20:50 -0400)
commitd3b6083ea283d865af7236c600ad3df1ab0b19df
tree9020fa2e7c4a00110ec7b0fecd469dc65dc3f661
parent03a1b5264de8ec59bd274d7d6372bc7ad7eb4a03
panic!() when serializing OnionHopDatas with value > 21m BTC

Add documentation to the struct fields noting this to avoid missing
docs when various msg structs become public.
lightning/src/ln/msgs.rs