Skip to content

Commit e0027d8

Browse files
committed
boltz: default to 0.12 for liquid
1 parent ab2485e commit e0027d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lwk_boltz/src/reverse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ impl InvoiceResponse {
275275
SwapTransactionParams {
276276
keys: self.data.our_keys,
277277
output_address: self.data.claim_address.to_string(),
278-
fee: Fee::Relative(1.0),
278+
fee: Fee::Relative(0.12), // TODO make it configurable
279279
swap_id: self.swap_id().to_string(),
280280
options: Some(TransactionOptions::default().with_cooperative(true)),
281281
chain_client: &self.chain_client,

lwk_boltz/src/submarine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ impl PreparePayResponse {
332332
.construct_refund(SwapTransactionParams {
333333
keys: self.data.our_keys,
334334
output_address: self.data.refund_address.to_string(),
335-
fee: Fee::Relative(1.0), // TODO: improve
335+
fee: Fee::Relative(0.12), // TODO make it configurable
336336
swap_id: self.swap_id(),
337337
chain_client: &self.chain_client,
338338
boltz_client: &self.api,

0 commit comments

Comments
 (0)