htlcswitch/interfaces: return err from UpdateShortChanID
This commit is contained in:
parent
f963f91a3c
commit
b5591cd66c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user