Closed gpBlockchain closed 5 days ago
we should set a limit for the length of this description, from bolts: https://github.com/lightning/bolts/blob/master/11-payment-encoding.md
h (23): data_length 52. 256-bit description of purpose of payment (SHA256).
This is used to commit to an associated description that is over 639 bytes,
but the transport mechanism for the description in that case is transport specific and not defined here.
I will set a 639 as limit.
so, should we limit the description length?