Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Update coinswap.js
Browse files Browse the repository at this point in the history
Fixed Bitcoin testnet and main function
  • Loading branch information
22388o authored Dec 27, 2023
1 parent 74a7c18 commit d391037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/coinjoin/coinswap.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const bitcoin = require('bitcoinjs-lib');
const firebolt = require('algorithm');
const firebolt = require('main_function');
const axios = require('axios');

// Bitcoin network configuration
const network = bitcoin.testnet.bitcoin;
const network = bitcoin.networks.testnet;

// Generate a new Bitcoin address
function generateAddress() {
Expand Down

0 comments on commit d391037

Please sign in to comment.