lnd+lnwallet+glide: replace last lingering instances of fastsha256

This commit is contained in:
Olaoluwa Osuntokun committed 2017-03-16 19:40:29 -07:00
1 parent a1bb36730a
commit ec52c49b6c
3 files changed
+3 -5

No files matched your search

+1 -2
View File
@@ -10,7 +10,6 @@ import (
"sync/atomic"
"time"
"github.com/btcsuite/fastsha256"
"github.com/lightningnetwork/lightning-onion"
"github.com/lightningnetwork/lnd/brontide"
"github.com/lightningnetwork/lnd/chainntnfs"
@@ -183,7 +182,7 @@ func newServer(listenAddrs []string, notifier chainntnfs.ChainNotifier,
htlcAdd *lnwire.UpdateAddHTLC) ([32]byte, error) {
firstHopPub := firstHop.SerializeCompressed()
destInterface := chainhash.Hash(fastsha256.Sum256(firstHopPub))
destInterface := chainhash.Hash(sha256.Sum256(firstHopPub))
return s.htlcSwitch.SendHTLC(&htlcPacket{
dest: destInterface,