Skip to content

Commit

Permalink
Update packages/tasks/src/bitcoinAddress.ts
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
fadeev and coderabbitai[bot] authored Jul 14, 2024
1 parent 1c6064c commit 5f3ca20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tasks/src/bitcoinAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as bitcoin from "bitcoinjs-lib";
import ECPairFactory from "ecpair";
import * as ecc from "tiny-secp256k1";

export const bitcoinAddress = (pk: string, network: "testnet" | "mainnet") => {
export const bitcoinAddress = (pk: string, network: "mainnet" | "testnet") => {
const bitcoinNetwork =
network === "testnet" ? bitcoin.networks.testnet : bitcoin.networks.bitcoin;

Expand Down

0 comments on commit 5f3ca20

Please sign in to comment.