lightningdevkit / lightning-liquidity

Other
27 stars 17 forks source link

LSPS2: Promise length validation #25

Open johncantrell97 opened 1 year ago

johncantrell97 commented 1 year ago

The spec mentions the client must validate the promise is not longer than 512 bytes to prevent LSP from burdening them with a lot of data. We currently do not do any validation around the promise on the client side.