Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonvdb committed Jan 4, 2024
1 parent d9b4bfe commit 7961273
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions example/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,11 @@ export const getAddress = async (): Promise<IAddress> => {
const root = bip32.fromSeed(mnemonicSeed, network);
const keyPair = root.derivePath("m/84'/1'/0'/0/0");
const publicKey = keyPair.publicKey.toString('hex');
const address = bitcoin.payments.p2wpkh({
pubkey: keyPair.publicKey,
network,
}).address ?? '';
const address =
bitcoin.payments.p2wpkh({
pubkey: keyPair.publicKey,
network,
}).address ?? '';

return {
address,
Expand Down

0 comments on commit 7961273

Please sign in to comment.