Add const ACCEPTED_HTLC_SCRIPT_WEIGHT and OFFERED_HTLC_SCRIPT_WEIGHT to
authorAntoine Riard <ariard@student.42.fr>
Wed, 10 Oct 2018 01:30:03 +0000 (01:30 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 14 Dec 2018 22:00:22 +0000 (17:00 -0500)
commitb1e313f26de90771b3570eac2282bad8e68ef95a
tree5f83f26e4761b12b7d5bac6d1bee795366f97a81
parentbadda940224c437fcc7912b078f109b5388320a7
Add const ACCEPTED_HTLC_SCRIPT_WEIGHT and OFFERED_HTLC_SCRIPT_WEIGHT to
ease readability

Conditionnal compilation for weight of second one to handle test special
cltv values
src/ln/channel.rs
src/ln/channelmanager.rs
src/ln/channelmonitor.rs