Browse Source

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

This is to not conflict with trampoline BOLT.
master
Conner Fromknecht 3 years ago
parent
commit
82b4f11292
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7
  1. 2
      record/amp.go

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

Loading…
Cancel
Save