Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/error.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![warn(missing_docs)]
//! This module contains the crate's error type.
use bdk_chain::bitcoin;
use std::io::Error as IoError;

#[derive(Debug, thiserror::Error)]
Expand Down Expand Up @@ -35,8 +34,4 @@ pub enum StoreError {
/// [`BlockHash`]: <https://docs.rs/bitcoin/latest/bitcoin/struct.BlockHash.html>
#[error("BlockHash deserialization error: {0}")]
BlockHashFromSlice(#[from] bdk_chain::bitcoin::hashes::FromSliceError),
/// Error thrown when tx corresponding to txid is not found while persisting
/// anchors, last_seen, last_evicted or first_seen.
#[error("Tx corresponding to txid is missing")]
TxMissing(bitcoin::Txid),
}
Loading
Loading