lnwallet/commitment: split our/theirBalance comment
This commit is contained in:
parent
97761833d2
commit
294e13eefc
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user