Skip to content

Commit 5ef7190

Browse files
authored
Update greenlight.js
1 parent 8bb2321 commit 5ef7190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/greenlight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const apiKey = 'your-api-key'; // Your Greenlight API key
77
const fundingAmount = 10000000; // Amount in satoshis
88

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

1313
// Create Bech32 addresses

0 commit comments

Comments
 (0)