Skip to content

Commit ee0920c

Browse files
committed
Add Liquid compatiblity
1 parent 1fce3aa commit ee0920c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/app/coinjoin/main_function.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const bitcoin = require('bitcoinjs-lib').networks.signet;
1010
const mpc = require('mprc-crypto-lib');
1111
const { setupMPCCeremony } = require('./mpc_ceremony.jsx');
1212
const { rescanOnchainSwaps} = require('@breeztech/react-native-breez-sdk-liquid');
13+
const { LiquidNetwork } = require('@breeztech/react-native-breez-sdk-liquid')
1314

1415
let converter = new BitcoinConverter();
1516

@@ -27,6 +28,7 @@ class Coinjoin {
2728
this.address = address;
2829
this.proof = null;
2930
this.payments = null;
31+
this.LiquidNetwork = LiquidNetwork;
3032
this.rescanOnchainSwaps = rescanOnchainSwaps;
3133
this.isEntering = isEntering; // Boolean flag to indicate whether the user is entering or exiting
3234
}
@@ -38,6 +40,9 @@ class CoinjoinTransaction {
3840
this.vout = vout;
3941
this.amount = amount;
4042
this.address = address;
43+
this.proof = null;
44+
this.rescanOnchainSwaps = rescanOnchainSwaps;
45+
this.LiquidNetwork = LiquidNetwork;
4146
}
4247
}
4348

0 commit comments

Comments
 (0)