funding: add TODO to parametrize dust limit
This commit is contained in:
parent
b671a50157
commit
38a80ba066
@ -525,6 +525,8 @@ func (f *fundingManager) handleFundingRequest(fmsg *fundingRequestMsg) {
|
|||||||
"from peer(%x)", amt, msg.PushSatoshis, delay, msg.PendingChannelID,
|
"from peer(%x)", amt, msg.PushSatoshis, delay, msg.PendingChannelID,
|
||||||
fmsg.peerAddress.IdentityKey.SerializeCompressed())
|
fmsg.peerAddress.IdentityKey.SerializeCompressed())
|
||||||
|
|
||||||
|
// TODO(roasbeef): dust limit should be made parameter into funding mgr
|
||||||
|
// * will change on a per-chain basis
|
||||||
ourDustLimit := lnwallet.DefaultDustLimit()
|
ourDustLimit := lnwallet.DefaultDustLimit()
|
||||||
theirDustlimit := msg.DustLimit
|
theirDustlimit := msg.DustLimit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user