Skip to content

Commit

Permalink
Remove redundant param
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeross committed Jun 17, 2024
1 parent 8bc250e commit d61d690
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/swaps/bitcoinv2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1009,12 +1009,7 @@ impl BtcSwapTxV2 {
/// Calculate the size of a transaction.
/// Use this before calling drain to help calculate the absolute fees.
/// Multiply the size by the fee_rate to get the absolute fees.
pub fn size(
&self,
keys: &Keypair,
preimage: &Preimage,
refund_tx: Option<LBtcSwapTxV2>,
) -> Result<usize, Error> {
pub fn size(&self, keys: &Keypair, preimage: &Preimage) -> Result<usize, Error> {
let dummy_abs_fee = 5_000;
// Can only calculate non-coperative claims
let tx = match self.kind {
Expand Down

0 comments on commit d61d690

Please sign in to comment.