From f7d0c6324ce299f214d277e408e6be260e4c934c Mon Sep 17 00:00:00 2001 From: violet360 Date: Thu, 3 Mar 2022 22:57:32 +0530 Subject: [PATCH] minor fixes --- src/util/psbt/error.rs | 3 +-- src/util/psbt/mod.rs | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/util/psbt/error.rs b/src/util/psbt/error.rs index 58a214d663..de4b8cf9ee 100644 --- a/src/util/psbt/error.rs +++ b/src/util/psbt/error.rs @@ -41,8 +41,7 @@ pub enum Error { MissingUtxo, /// The separator for a PSBT must be `0xff`. InvalidSeparator, - /// Triggered when output index goes out of bounds of when trying to get - /// output of non witness script + /// Triggered when output index goes out of bounds of the output in non witness utxo PsbtUtxoOutOfbounds, /// Known keys must be according to spec. InvalidKey(raw::Key), diff --git a/src/util/psbt/mod.rs b/src/util/psbt/mod.rs index 9978ce039c..af92a3883d 100644 --- a/src/util/psbt/mod.rs +++ b/src/util/psbt/mod.rs @@ -197,7 +197,6 @@ mod display_from_str { #[cfg_attr(docsrs, doc(cfg(feature = "base64")))] pub use self::display_from_str::PsbtParseError; - impl Encodable for PartiallySignedTransaction { fn consensus_encode( &self,