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
- Branch
- master
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 29294 Build 58124: Build Diff ecashaddrjs-tests Build 58123: arc lint + arc unit
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