diff --git a/lnwire/FLOW.md b/lnwire/FLOW.md index 73d07e080..8f398783b 100644 --- a/lnwire/FLOW.md +++ b/lnwire/FLOW.md @@ -51,12 +51,12 @@ Transaction. Close Channel ------------- -One party unilaterally sends their sig to the other party. No further channel -updates are possible. In the future, we might include HTLCs in the outputs, but -for now, we're assuming *all* HTLCs are cleared out. +One party unilaterally sends their sig and fee amount to the other party. No +further channel updates are possible. In the future, we might include HTLCs in +the outputs, but for now, we're assuming *all* HTLCs are cleared out. Close Channel Complete ---------------------- -Returns the Txid as a courtesy. The counterparty may not send this if they're -being non-cooperative. +Returns the Txid and sig as a courtesy. The counterparty might not send this if +they're being non-cooperative. diff --git a/lnwire/funding_request.go b/lnwire/funding_request.go index 85b36435e..68b6caee6 100644 --- a/lnwire/funding_request.go +++ b/lnwire/funding_request.go @@ -21,8 +21,8 @@ type FundingRequest struct { //(This can be used to fund the Reserve) //If the responder disagrees, then the funding request fails //THIS VALUE GOES INTO THE RESPONDER'S FUNDING AMOUNT - //total requester input value = RequesterFundingAmount + PaymentAmount + "Total Change" - //RequesterFundingAmount = "Available Balance" - RequesterReserveAmount + //total requester input value = RequesterFundingAmount + PaymentAmount + "Total Change" + Fees(?) + //RequesterFundingAmount = "Available Balance" + RequesterReserveAmount PaymentAmount btcutil.Amount //Minimum number of confirmations to validate transaction