mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-02 07:50:17 +02:00
don't need the final identifier to create forwarding message
* Final ID is implicitly the last node in the path
This commit is contained in:
parent
4b304adf2a
commit
2e89e5a4be
@ -238,7 +238,7 @@ type ForwardingMessage struct {
|
||||
// onion encrypted message payload is then to be delivered to the specified 'dest'
|
||||
// address.
|
||||
func NewForwardingMessage(route []*btcec.PublicKey, dest LightningAddress,
|
||||
identifier [securityParameter]byte, message []byte) (*ForwardingMessage, error) {
|
||||
message []byte) (*ForwardingMessage, error) {
|
||||
routeLength := len(route)
|
||||
|
||||
// Compute the mix header, and shared secerts for each hop. We pass in
|
||||
|
Loading…
x
Reference in New Issue
Block a user