We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b6b45 commit d36bafeCopy full SHA for d36bafe
crates/bdk/src/wallet/mod.rs
@@ -426,9 +426,6 @@ pub enum InsertTxError {
426
},
427
}
428
429
-#[cfg(feature = "std")]
430
-impl<P: core::fmt::Display + core::fmt::Debug> std::error::Error for NewError<P> {}
431
-
432
impl<D> Wallet<D> {
433
/// Initialize an empty [`Wallet`].
434
pub fn new<E: IntoWalletDescriptor>(
@@ -1806,7 +1803,7 @@ impl<D> Wallet<D> {
1806
1803
psbt: &mut psbt::PartiallySignedTransaction,
1807
1804
sign_options: SignOptions,
1808
1805
) -> Result<bool, SignerError> {
1809
- let chain_tip = self.chain.tip().map(|cp| cp.block_id()).unwrap_or_default();
+ let chain_tip = self.chain.tip().block_id();
1810
1811
let tx = &psbt.unsigned_tx;
1812
let mut finished = true;
0 commit comments