routing+lnd: provide payment premiere as response to SendPayment
This commit is contained in:
5 files changed
+54
-32
No files matched your search
@@ -179,7 +179,7 @@ func newServer(listenAddrs []string, notifier chainntnfs.ChainNotifier,
|
||||
Broadcast: s.broadcastMessage,
|
||||
SendMessages: s.sendToPeer,
|
||||
SendToSwitch: func(firstHop *btcec.PublicKey,
|
||||
htlcAdd *lnwire.UpdateAddHTLC) error {
|
||||
htlcAdd *lnwire.UpdateAddHTLC) ([32]byte, error) {
|
||||
|
||||
firstHopPub := firstHop.SerializeCompressed()
|
||||
destInterface := chainhash.Hash(fastsha256.Sum256(firstHopPub))
|
||||
|
||||
Reference in new issue
Block a user