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:
Olaoluwa Osuntokun 2016-12-14 17:48:37 -08:00
parent 29f1328948
commit e3e2ba342c
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -501,6 +501,7 @@ func (l *LightningWallet) InitChannelReservation(capacity,
csvDelay: csvDelay,
ourDustLimit: ourDustLimit,
nodeID: theirID,
nodeAddr: theirAddr,
err: errChan,
resp: respChan,
}