Skip to content

Commit

Permalink
Do not export publicKeyToAddress directly
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-zimnoch committed Oct 16, 2023
1 parent cb80637 commit e063022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript/src/lib/bitcoin/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { BitcoinNetwork, toBitcoinJsLibNetwork } from "./network"
* and false for Legacy (P2PKH). Default is true.
* @returns The derived Bitcoin address.
*/
export function publicKeyToAddress(
function publicKeyToAddress(
publicKey: Hex,
bitcoinNetwork: BitcoinNetwork,
witness: boolean = true
Expand Down

0 comments on commit e063022

Please sign in to comment.