Skip to content

BOLT 12: Clarify handling of empty offer_chains field #1282

@erickcestari

Description

@erickcestari

The BOLT 12 specification doesn't explicitly address how to handle an offer_chains field that is present but contains zero chain hashes.

Currently the spec defines:

  • Field omitted: Bitcoin only (implied)
  • Field present with chains: Those specific chains
  • Field present but empty: Undefined

I think we could reject such case or imply as "Bitcoin only"

Example offer: lno1qgqpvggrt0j7j3uzp9n549hxpu0sxlmpwe2ql5qplgwkg628wrzk5acfcskq

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions