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:
1 file changed
+1
@@ -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