robosats icon indicating copy to clipboard operation
robosats copied to clipboard

Payment methods don't allow more than 5 options

Open sahilc0 opened this issue 2 years ago • 1 comments

Describe the bug Payment methods throws an error if selecting more than 5 options. Is this expected behavior? CleanShot 2023-01-01 at 15 38 11@2x

Expected behavior Users should be able to select as many options as possible, to increase chances that other peers can trade with them

sahilc0 avatar Jan 01 '23 21:01 sahilc0

The payment methods field is restricted by length of the concatenated string (sum of characters of every payment method). I believe it is currently limited to 50 characters, slightly less than the max length accepted by the coordinator API. That means, it is possible to add more payment methods, but only if they name of the methods is short.

In any case, this opens up an interesting discussion. How many payment methods are considered sufficient? I envisioned the current set up to be enough, but maybe I felt short :)

Reckless-Satoshi avatar Jan 05 '23 09:01 Reckless-Satoshi