From: Valentine Wallace Date: Fri, 1 May 2020 22:39:18 +0000 (-0400) Subject: Make channel reserve variable names less confusing. X-Git-Tag: v0.0.12~68^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=1b656f4d4a83df886f635d0ac728ccfe1a3945c4;hp=1b656f4d4a83df886f635d0ac728ccfe1a3945c4;p=rust-lightning Make channel reserve variable names less confusing. Previous to this commit, variables such as their_channel_reserve referred to the channel reserve that _we_ are required to keep, (the value is initially set by the remote). Similarly, variables such as our_channel_reserve referred to the channel reserve that we require the remote to keep. Change this to use local_channel_reserve / remote_channel_reserve to refer to the the channel reserve that the local is required to keep and the channel reserve that the remote is required to keep, respectively. ---