fundingmanager+lnwallet: add HTLC dust limit logic
This commit is contained in:
1 parent
c731156ac8
commit
d01f1b5ff4
9 files changed
+188
-35
No files matched your search
@@ -382,6 +382,14 @@ func (r *ChannelReservation) LocalCommitTx() *wire.MsgTx {
|
||||
return r.partialState.OurCommitTx
|
||||
}
|
||||
|
||||
// SetDustLimit set dust limit of the remote party.
|
||||
func (r *ChannelReservation) SetTheirDustLimit(dustLimit btcutil.Amount) {
|
||||
r.Lock()
|
||||
defer r.Unlock()
|
||||
|
||||
r.partialState.TheirDustLimit = dustLimit
|
||||
}
|
||||
|
||||
// FundingOutpoint returns the outpoint of the funding transaction.
|
||||
//
|
||||
// NOTE: The pointer returned will only be set once the .ProcesContribution()
|
||||
|
||||
Reference in new issue
Block a user