htlcswitch/interfaces: return err from UpdateShortChanID

This commit is contained in:
Conner Fromknecht 2018-05-01 16:29:24 -07:00
parent f963f91a3c
commit b5591cd66c
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

View File

@ -69,7 +69,7 @@ type ChannelLink interface {
// be required in the event that a link is created before the short
// chan ID for it is known, or a re-org occurs, and the funding
// transaction changes location within the chain.
UpdateShortChanID(lnwire.ShortChannelID)
UpdateShortChanID() (lnwire.ShortChannelID, error)
// UpdateForwardingPolicy updates the forwarding policy for the target
// ChannelLink. Once updated, the link will use the new forwarding