mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
lnwallet: properly set nodeAddr during channel reservation init
This commit fixes a lingering bug within the channel funding reservation workflow that caused the address of a channel counter-party to not be written to disk, resulting in an error on start up. To fix this, we now properly populate the node’s TCP address when initiating the reservation.
This commit is contained in:
@@ -501,6 +501,7 @@ func (l *LightningWallet) InitChannelReservation(capacity,
|
||||
csvDelay: csvDelay,
|
||||
ourDustLimit: ourDustLimit,
|
||||
nodeID: theirID,
|
||||
nodeAddr: theirAddr,
|
||||
err: errChan,
|
||||
resp: respChan,
|
||||
}
|
||||
|
Reference in New Issue
Block a user