Skip to content

Conversation

@vtjl10
Copy link

@vtjl10 vtjl10 commented Jan 14, 2026

  • Remove duplicated $val =~ /^\s/ validation while parsing BIP preamble fields in scripts/buildtable.pl.
  • Keep the exact existing error messages ("Too many spaces…" vs "Extra spaces…") depending on the parsing branch.

The same leading-whitespace condition was checked in two places, which is easy to let drift over time and makes the parsing logic harder to follow. Consolidating it removes duplicate code without changing behavior.

@murchandamus
Copy link
Contributor

No thanks. This is not a substantial improvement, but a stylistic preference. This is the third busywork pull request you have opened to this repository. Stop wasting our time with AI-powered commit farming.

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

Successfully merging this pull request may close these issues.

2 participants