Skip to content

Commit

Permalink
fix(wallet): rebase error
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Nov 16, 2023
1 parent 55b6b45 commit d36bafe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/bdk/src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,6 @@ pub enum InsertTxError {
},
}

#[cfg(feature = "std")]
impl<P: core::fmt::Display + core::fmt::Debug> std::error::Error for NewError<P> {}

impl<D> Wallet<D> {
/// Initialize an empty [`Wallet`].
pub fn new<E: IntoWalletDescriptor>(
Expand Down Expand Up @@ -1806,7 +1803,7 @@ impl<D> Wallet<D> {
psbt: &mut psbt::PartiallySignedTransaction,
sign_options: SignOptions,
) -> Result<bool, SignerError> {
let chain_tip = self.chain.tip().map(|cp| cp.block_id()).unwrap_or_default();
let chain_tip = self.chain.tip().block_id();

let tx = &psbt.unsigned_tx;
let mut finished = true;
Expand Down

0 comments on commit d36bafe

Please sign in to comment.