record/amp: use switch from 10 -> 14 for AMP TLV type

This is to not conflict with trampoline BOLT.
This commit is contained in:
Conner Fromknecht committed 2021-04-07 12:08:33 -07:00
1 parent 8fe4de88c1
commit 82b4f11292
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ import (
// AMPOnionType is the type used in the onion to reference the AMP fields:
// 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
// payments.