record/amp: use switch from 10 -> 14 for AMP TLV type
This is to not conflict with trampoline BOLT.
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
// AMPOnionType is the type used in the onion to reference the AMP fields:
|
// AMPOnionType is the type used in the onion to reference the AMP fields:
|
||||||
// root_share, set_id, and child_index.
|
// root_share, set_id, and child_index.
|
||||||
const AMPOnionType tlv.Type = 10
|
const AMPOnionType tlv.Type = 14
|
||||||
|
|
||||||
// AMP is a record that encodes the fields necessary for atomic multi-path
|
// AMP is a record that encodes the fields necessary for atomic multi-path
|
||||||
// payments.
|
// payments.
|
||||||
|
|||||||
Reference in new issue
Block a user