mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-14 02:15:29 +02:00
lnwalelt: add note for balance update ntfs
This commit is contained in:
@@ -473,6 +473,11 @@ func (l *LightningWallet) handleFundingReserveRequest(req *initFundingReserveMsg
|
|||||||
// when we encounter an error condition.
|
// when we encounter an error condition.
|
||||||
l.coinSelectMtx.Lock()
|
l.coinSelectMtx.Lock()
|
||||||
|
|
||||||
|
// TODO(roasbeef): check if balance is insufficient, if so then select
|
||||||
|
// on two channels, one is a time.After that will bail out with
|
||||||
|
// insuffcient funds, the other is a notification that the balance has
|
||||||
|
// been updated make(chan struct{}, 1).
|
||||||
|
|
||||||
// Find all unlocked unspent outputs with greater than 6 confirmations.
|
// Find all unlocked unspent outputs with greater than 6 confirmations.
|
||||||
maxConfs := int32(math.MaxInt32)
|
maxConfs := int32(math.MaxInt32)
|
||||||
// TODO(roasbeef): make 6 a config paramter?
|
// TODO(roasbeef): make 6 a config paramter?
|
||||||
|
Reference in New Issue
Block a user