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 2021-03-24 19:47:18 -07:00
parent 8fe4de88c1
commit 82b4f11292
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -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.