multi: update sub-systems to use latest iteration of wire messages

This commit is contained in:
Olaoluwa Osuntokun committed 2017-02-21 01:42:37 -08:00
1 parent ccbbcf389b
commit 12f69692aa
4 files changed
+26 -25

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ func newServer(listenAddrs []string, notifier chainntnfs.ChainNotifier,
Broadcast: s.broadcastMessage,
SendMessages: s.sendToPeer,
SendToSwitch: func(firstHop *btcec.PublicKey,
htlcAdd *lnwire.HTLCAddRequest) error {
htlcAdd *lnwire.UpdateAddHTLC) error {
firstHopPub := firstHop.SerializeCompressed()
destInterface := chainhash.Hash(fastsha256.Sum256(firstHopPub))