From 6ca98e527562baad3ea382cf0dde6251360dd714 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 25 May 2022 11:59:58 +1000 Subject: [PATCH] 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 --- src/blockdata/script.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockdata/script.rs b/src/blockdata/script.rs index 839a7c29..f12d436e 100644 --- a/src/blockdata/script.rs +++ b/src/blockdata/script.rs @@ -196,7 +196,7 @@ impl std::error::Error for Error { NonMinimalPush | EarlyEndOfScript | NumericOverflow - | BitcoinConsensus(_) // TODO: This should return `Some` but bitcoinconsensus::Error does not implement Error. + | BitcoinConsensus(_) | UnknownSpentOutput(_) | SerializationError => None, }