Skip to content

Commit

Permalink
chore: modify version
Browse files Browse the repository at this point in the history
  • Loading branch information
Polybius93 committed Dec 2, 2024
1 parent 6c33e0a commit cc155dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "dlc-btc-lib",
"version": "2.4.18",
"version": "2.4.18-dfns-beta",
"description": "This library provides a comprehensive set of interfaces and functions for minting dlcBTC tokens on supported blockchains.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
18 changes: 9 additions & 9 deletions src/dlc-handlers/software-wallet-dlc-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ export class SoftwareWalletDLCHandler {
attestorGroupPublicKey
);

const feeRate = 200n; //
// customFeeRate ??
// BigInt(await getFeeRate(this.bitcoinBlockchainFeeRecommendationAPI, feeRateMultiplier));
const feeRate =
customFeeRate ??
BigInt(await getFeeRate(this.bitcoinBlockchainFeeRecommendationAPI, feeRateMultiplier));

const addressBalance = await getBalance(fundingPayment, this.bitcoinBlockchainAPI);

Expand Down Expand Up @@ -184,9 +184,9 @@ export class SoftwareWalletDLCHandler {
attestorGroupPublicKey
);

const feeRate = 200n;
// customFeeRate ??
// BigInt(await getFeeRate(this.bitcoinBlockchainFeeRecommendationAPI, feeRateMultiplier));
const feeRate =
customFeeRate ??
BigInt(await getFeeRate(this.bitcoinBlockchainFeeRecommendationAPI, feeRateMultiplier));

const withdrawTransaction = await createWithdrawTransaction(
this.bitcoinBlockchainAPI,
Expand Down Expand Up @@ -218,9 +218,9 @@ export class SoftwareWalletDLCHandler {
attestorGroupPublicKey
);

const feeRate = 200n; //
// customFeeRate ??
// BigInt(await getFeeRate(this.bitcoinBlockchainFeeRecommendationAPI, feeRateMultiplier));
const feeRate =
customFeeRate ??
BigInt(await getFeeRate(this.bitcoinBlockchainFeeRecommendationAPI, feeRateMultiplier));

const depositTransaction = await createDepositTransaction(
this.bitcoinBlockchainAPI,
Expand Down

0 comments on commit cc155dd

Please sign in to comment.