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

Commit

Permalink
Update sender.js
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o authored Feb 5, 2024
1 parent 1307646 commit 18ceca8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/coinjoin/sender.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const bitcoin = require('bitcoinjs-lib');
const { get_utxos_from_wallet, get_our_keys, get_current_blockheight } = require('CoinJoinXT');
const { get_utxos_from_wallet, get_our_keys, get_current_blockheight } = require('main_function');


// Testnet
Expand Down Expand Up @@ -58,7 +58,7 @@ const network = bitcoin.network.testnet
this.template_inputs,
this.counterparty_ins
);
this.template = new OCCTemplate(template_data_set);
this.template = new Data(template_data_set);
// pre-choose our keys for template
// how many keys do we need?
const nkeys_us = this.template.keys_needed(0);
Expand Down Expand Up @@ -92,14 +92,14 @@ const network = bitcoin.network.testnet
}
}

class OCCClientProtocolFactory {
class ClientProtocolFactory {

constructor(wallet) {
this.wallet = wallet;
}

buildProtocol() {
return new OCCClientProtocol(this, this.wallet);
return new ClientProtocol(this, this.wallet);
}
}

Expand Down

0 comments on commit 18ceca8

Please sign in to comment.