From 82b4f11292476437254223e180a1a9bf31fe08c9 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Wed, 24 Mar 2021 19:47:18 -0700 Subject: [PATCH] record/amp: use switch from 10 -> 14 for AMP TLV type This is to not conflict with trampoline BOLT. --- record/amp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/record/amp.go b/record/amp.go index 97064805..53c9b441 100644 --- a/record/amp.go +++ b/record/amp.go @@ -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.