BitcoinAndLightningLayerSpecs / lsp

API specifications for Lightning Service Providers
MIT License
112 stars 31 forks source link

Remove duplicate field `expires_at` in example #127

Closed bufo24 closed 1 month ago

ErikDeSmedt commented 2 months ago

The field appears twice intentionally.

There is an expires_at for bolt11 and another for onchain payments.

bufo24 commented 2 months ago

But currently there are 3, 2 in the onchain object and 1 in the bolt11 object.

A json object cannot have duplicate keys.

ErikDeSmedt commented 2 months ago

Oops, you're right