Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Revert "Merge pull request #1853 from LedgerHQ/release/v22.0.0"
Browse files Browse the repository at this point in the history
This reverts commit 78650fe, reversing
changes made to 7ef865d.
  • Loading branch information
lambertkevin committed Apr 8, 2022
1 parent 77dfa66 commit 987c6ba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/families/bitcoin/transaction.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BigNumber } from "bignumber.js";
import bchaddr from "bchaddrjs";
import { bchToCashaddrAddressWithoutPrefix } from "./logic";
import cashaddr from "cashaddrjs";
import type {
Transaction,
Expand Down Expand Up @@ -134,9 +134,6 @@ function bchExplicit(str: string): string {
return str;
}

const bchToCashaddrAddressWithoutPrefix = (recipient) =>
recipient ? bchaddr.toCashAddress(recipient).split(":")[1] : recipient;

export type CoinLogic = {
hasExtraData?: boolean;
hasExpiryHeight?: boolean;
Expand Down

0 comments on commit 987c6ba

Please sign in to comment.