HomePhabricator

[ecash-herald] Remove toLowerCase by using latest ecashaddrjs

Description

[ecash-herald] Remove toLowerCase by using latest ecashaddrjs

Summary: chronik-client only accepts address type in lowercase, i.e. p2sh or p2pkh. Latest version of ecashaddrjs returns these values, so the toLowerCase() shim can be dropped.

Test Plan: npm test

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D14171

Details

Provenance
bytesofmanAuthored on Jun 30 2023, 16:31
bytesofmanPushed on Jul 1 2023, 05:39
Reviewer
Restricted Project
Differential Revision
D14171: [ecash-herald] Remove toLowerCase by using latest ecashaddrjs
Parents
rABCa54795b9feb0: [ecashaddrjs] Support use of lowercase types for encoding addresses
Branches
Unknown
Tags
Unknown