Skip to content

Commit

Permalink
Pay set recovery address call fee with nbtc
Browse files Browse the repository at this point in the history
  • Loading branch information
keppel committed Feb 14, 2024
1 parent 2f36905 commit 4aed5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ impl ConvertSdkTx for InnerApp {
crate::bitcoin::adapter::Adapter::new(recovery_addr.script_pubkey());

let funding_amt = MIN_FEE;
let payer = build_call!(self.accounts.take_as_funding(funding_amt.into()));
let payer = build_call!(self.pay_nbtc_fee());
let paid = build_call!(self.bitcoin.set_recovery_script(script.clone()));

Ok(PaidCall { payer, paid })
Expand Down

0 comments on commit 4aed5dd

Please sign in to comment.