channeldb+lnwallet: note that balance is after subtracting commit fee

It was incorrectly stated that the commitment balance was before
subctracting the commit fee, which led to some confusion.
This commit is contained in:
Johan T. Halseth committed 2020-01-06 11:42:02 +01:00
1 parent 22e1f006b1
commit 2c46640dd0
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -502,7 +502,7 @@ type commitment struct {
// evaluating all the add/remove/settle log entries before the listed
// indexes.
//
// NOTE: This is the balance *before* subtracting any commitment fee.
// NOTE: This is the balance *after* subtracting any commitment fee.
ourBalance lnwire.MilliSatoshi
theirBalance lnwire.MilliSatoshi