Remove error TODO

Remove the TODO from comments and raise a GitHub issue to track it.

  https://github.com/rust-bitcoin/rust-bitcoin/issues/1002
This commit is contained in:
Tobin C. Harding 2022-05-25 11:59:58 +10:00
parent 324fa0f7be
commit 6ca98e5275
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ impl std::error::Error for Error {
NonMinimalPush NonMinimalPush
| EarlyEndOfScript | EarlyEndOfScript
| NumericOverflow | NumericOverflow
| BitcoinConsensus(_) // TODO: This should return `Some` but bitcoinconsensus::Error does not implement Error. | BitcoinConsensus(_)
| UnknownSpentOutput(_) | UnknownSpentOutput(_)
| SerializationError => None, | SerializationError => None,
} }