lnwallet/commitment: split our/theirBalance comment

This commit is contained in:
Conner Fromknecht committed 2020-04-02 17:51:02 -07:00
1 parent 97761833d2
commit 294e13eefc
1 file changed
+10 -5
+10 -5
View File
@@ -371,11 +371,16 @@ type unsignedCommitmentTx struct {
// fee is the total fee of the commitment transaction. // fee is the total fee of the commitment transaction.
fee btcutil.Amount fee btcutil.Amount
// ourBalance|theirBalance are the balances of this commitment *after* // ourBalance is our balance on this commitment *after* subtracting
// subtracting commitment fees and anchor outputs. This can be // commitment fees and anchor outputs. This can be different than the
// different than the balances before creating the commitment // balances before creating the commitment transaction as one party must
// transaction as one party must pay the commitment fee. // pay the commitment fee.
ourBalance lnwire.MilliSatoshi ourBalance lnwire.MilliSatoshi
// theirBalance is their balance of this commitment *after* subtracting
// commitment fees and anchor outputs. This can be different than the
// balances before creating the commitment transaction as one party must
// pay the commitment fee.
theirBalance lnwire.MilliSatoshi theirBalance lnwire.MilliSatoshi
} }