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:
parent
29f1328948
commit
e3e2ba342c
@ -501,6 +501,7 @@ func (l *LightningWallet) InitChannelReservation(capacity,
|
|||||||
csvDelay: csvDelay,
|
csvDelay: csvDelay,
|
||||||
ourDustLimit: ourDustLimit,
|
ourDustLimit: ourDustLimit,
|
||||||
nodeID: theirID,
|
nodeID: theirID,
|
||||||
|
nodeAddr: theirAddr,
|
||||||
err: errChan,
|
err: errChan,
|
||||||
resp: respChan,
|
resp: respChan,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user