Skip to content

Commit

Permalink
Fix CJ
Browse files Browse the repository at this point in the history
  • Loading branch information
223880 committed Mar 26, 2024
1 parent c7707cf commit 637da46
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/app/coinjoin/main_function.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ const explorer = 'https://mempool.space/testnet/tx'

const stats_tx_fee = 10000

const btc_to_satoshis () {
return btc_to_satoshis;
}
class satoshis_to_btc () {
return satoshis_to_btc;
};
let converter = new BitcoinConverter();

let satoshis = converter.btcToSatoshis(0.001);
console.log(satoshis); // 100000

let btc = converter.satoshisToBtc(100000);
console.log(btc); // 0.001

class CoinJoinRound {
constructor(inputs, outputs) {
Expand Down

0 comments on commit 637da46

Please sign in to comment.