From b5591cd66cea94f19cb1bfd557079e16ca635c64 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Tue, 1 May 2018 16:29:24 -0700 Subject: [PATCH] htlcswitch/interfaces: return err from UpdateShortChanID --- htlcswitch/interfaces.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htlcswitch/interfaces.go b/htlcswitch/interfaces.go index 6961050ac..645b33dc0 100644 --- a/htlcswitch/interfaces.go +++ b/htlcswitch/interfaces.go @@ -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