Skip to content

Commit

Permalink
Update taproot_channel.js
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o authored Aug 19, 2023
1 parent eb76584 commit 8bb2321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dlc/taproot_channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const lndCertPath = '/path/to/tls.cert';
const fundingAmount = 10000000; // Amount in satoshis

// Generate keys
const network = bitcoin.networks.testnet; // Use 'bitcoin.networks.bitcoin' for mainnet
const network = bitcoin.networks.bitcoin; // Use 'bitcoin.networks.bitcoin' for mainnet
const { publicKey, privateKey } = bitcoin.ECPair.makeRandom({ network });

// Create Bech32 addresses
Expand Down

0 comments on commit 8bb2321

Please sign in to comment.