TypeScript gives an error when optionalPrefix in not defined when calling isValidCashAddress, this PR allows both undefined or explicit false for no prefixes, or a user passed string as prefix
Details
Details
- Reviewers
bytesofman Fabien - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project - Commits
- rABC481fcc4e5ce1: [ecashaddrjs] Fix types for `isValidCashAddress`
npm test
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
nice, thanks!
please
- run npm version patch to bump the version number
- update README.md #### Changelog section to describe the change
and will get this in