Skip to content

Commit

Permalink
refactor: replace bdk::error with custom error
Browse files Browse the repository at this point in the history
- replace bdk::error with custom error enum
- update imports and handling of errors

[Ticket: X]
  • Loading branch information
tvpeter committed Feb 6, 2025
1 parent b8d2357 commit 50233dd
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 191 deletions.
18 changes: 0 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ bdk_electrum ={ version = "0.20.1", optional = true}
bdk_esplora ={ version = "0.20.1", features = ["async"], optional = true}
bdk_bitcoind_rpc = {version = "0.17.1", optional = true}
hwi = {version = "0.10.0", optional = true}
electrum-client = "0.23.0"


# Platform-specific dependencies
[target.'cfg(target_arch = "wasm32")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ mod test {
subcommand: WalletSubCommand::OfflineWalletSubCommand(CreateTx {
recipients: vec![(script1, 123456), (script2, 78910)],
send_all: false,
enable_rbf: false,
enable_rbf: true,
offline_signer: false,
utxos: Some(vec!(outpoint1, outpoint2)),
unspendable: None,
Expand Down
Loading

0 comments on commit 50233dd

Please sign in to comment.