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

This commit is contained in:
Olaoluwa Osuntokun
2017-02-16 20:41:16 +08:00
parent ccbbcf389b
commit 12f69692aa
4 changed files with 26 additions and 25 deletions

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))