Skip to content

Commit

Permalink
chore(electrum): remove enable_rbf()
Browse files Browse the repository at this point in the history
  • Loading branch information
luisschwab committed Sep 27, 2024
1 parent c6aec61 commit b19ad16
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example-crates/wallet_electrum/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ fn main() -> Result<(), anyhow::Error> {
}

let mut tx_builder = wallet.build_tx();
tx_builder
.add_recipient(address.script_pubkey(), SEND_AMOUNT)
.enable_rbf();
tx_builder.add_recipient(address.script_pubkey(), SEND_AMOUNT);

let mut psbt = tx_builder.finish()?;
let finalized = wallet.sign(&mut psbt, SignOptions::default())?;
Expand Down

0 comments on commit b19ad16

Please sign in to comment.