Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Formatting #25

Closed
MrMitch17 opened this issue Jun 22, 2021 · 3 comments
Closed

Error Formatting #25

MrMitch17 opened this issue Jun 22, 2021 · 3 comments

Comments

@MrMitch17
Copy link

if [[ ${#poolMetaDescription} -gt 250 ]]; then echo -e "\e[35mERROR - The poolMetaDescription entry in your ${poolFile}.pool.json is too long. Max. 64chars allowed !\e[0m\n\nPlease re-edit the poolMetaDescription entry in your ${poolFile}.pool.json, thx!\e[0m"; exit 1; fi

Says 64 chars, but its checking for 250.

@gitmachtl
Copy link
Owner

gitmachtl commented Jul 21, 2021

thx for that, yes it is a typo, the 64chars is incorrect. the check against 250 chars is correct. will be fixed in the next update.

EDIT: value of 250 is incorrect, its 255.

@gitmachtl
Copy link
Owner

Actually i have to research again, there are currently a few different specifications floating around, let me check it.

@gitmachtl gitmachtl reopened this Jul 21, 2021
@gitmachtl
Copy link
Owner

ok, so the max. number of chars for the description is actually 255. and the url of the stakepool homepage is not limited at all. this is covered by the total size of the metadata json of 512 bytes in total. the value will be corrected from 250 to 255 in the next update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants