@typeberry/jam 0.4.0-4809f38 → 0.4.0-d185014

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30913,7 +30913,7 @@ function parseBootnode(v) {
30913
30913
  if (name === "" || ip === "" || port === "") {
30914
30914
  throw new Error(`Invalid bootnode format, expected: <name>@<ip>:<port>, got: "${v}"`);
30915
30915
  }
30916
- const portNumber = Number.parseInt(port);
30916
+ const portNumber = Number.parseInt(port, 10);
30917
30917
  if (!isU16(portNumber)) {
30918
30918
  throw new Error(`Invalid port number: "${port}"`);
30919
30919
  }