Skip to content

Commit 50233dd

Browse files
committed
refactor: replace bdk::error with custom error
- replace bdk::error with custom error enum - update imports and handling of errors [Ticket: X]
1 parent b8d2357 commit 50233dd

File tree

7 files changed

+103
-191
lines changed

7 files changed

+103
-191
lines changed

Cargo.lock

Lines changed: 0 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ bdk_electrum ={ version = "0.20.1", optional = true}
3434
bdk_esplora ={ version = "0.20.1", features = ["async"], optional = true}
3535
bdk_bitcoind_rpc = {version = "0.17.1", optional = true}
3636
hwi = {version = "0.10.0", optional = true}
37-
electrum-client = "0.23.0"
38-
3937

4038
# Platform-specific dependencies
4139
[target.'cfg(target_arch = "wasm32")'.dependencies]

src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ mod test {
10411041
subcommand: WalletSubCommand::OfflineWalletSubCommand(CreateTx {
10421042
recipients: vec![(script1, 123456), (script2, 78910)],
10431043
send_all: false,
1044-
enable_rbf: false,
1044+
enable_rbf: true,
10451045
offline_signer: false,
10461046
utxos: Some(vec!(outpoint1, outpoint2)),
10471047
unspendable: None,

0 commit comments

Comments
 (0)