[WebUI/API] CLN seedwords dont get listed correctly with numbers
When installing a fresh Core Lightning Wallet thru the redesigned Setup WebUI the seed words looks like this:
Not sure if this is to fix thru WebUI @cstenglein or API @fusion44 or even the wallet creating shell script @openoms .. but the data structure should be similar to the LND so that it gets rendered correctly.
Its not critical but should get fixed for 1.11.3 release.
The seedwords are expected in this format:
https://github.com/raspiblitz/raspiblitz-web/blob/master/backend-mock/setup.js#L125
They are split by ", " https://github.com/raspiblitz/raspiblitz-web/blob/master/src/pages/Setup/FinalDialog.tsx#L24
Most likely it is because they are separated by just an empty space, not a comma and an empty space.
@rootzoll check script for same splitting char as LND
If splitting is not done in the LND script, I'll handle the case in the webUI
OK comitted to dev branch - cln script should now deliver thru API the comma separated list - like in this example:
seedwords='wall,input,chronic,gaze,tip,explain,fog,receive,kingdom,they,corn,universe,soup,roast,remind,country,make,harsh,dream,cross,all,magic,napkin,found'
TODO-TEST: With v1.11.3rc1 test fresh setup of cln node and check seed word listing.
OK comitted to
devbranch - cln script should now deliver thru API the comma separated list - like in this example:seedwords='wall,input,chronic,gaze,tip,explain,fog,receive,kingdom,they,corn,universe,soup,roast,remind,country,make,harsh,dream,cross,all,magic,napkin,found'
There is a " " missing after the comma :/
It should be
seedwords='wall, input, chronic, gaze, tip, explain, fog, receive, kingdom, ...
@cstenglein comma separated should now contain also the space
TODO-TEST: With v1.11.3rc1 test fresh setup of cln node and check seed word listing.