mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
1d5844c196
This commit adds handling code for the key send custom record. If this record is present and its hash matches the payment hash, invoice registry will insert a new invoice into the database "just in time". The subsequent settle flow is unchanged. The newly inserted invoice is picked up and settled. Notifications will be broadcast as usual.
7 lines
131 B
Go
7 lines
131 B
Go
package record
|
|
|
|
const (
|
|
// KeySendType is the custom record identifier for key send preimages.
|
|
KeySendType uint64 = 5482373484
|
|
)
|