From 7f73d5f7db40cc5cd9ebd2b58560b9bcb85f116d Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 18 Feb 2021 19:48:39 +0100 Subject: [PATCH] doc: correct SigHashType doc comment Super nit, but a hashtype is not specific to a transaction but a signature. Signed-off-by: Antoine Poinsot --- src/blockdata/transaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockdata/transaction.rs b/src/blockdata/transaction.rs index f5147a78..27f61142 100644 --- a/src/blockdata/transaction.rs +++ b/src/blockdata/transaction.rs @@ -608,7 +608,7 @@ impl Decodable for Transaction { } } -/// Hashtype of a transaction, encoded in the last byte of a signature +/// Hashtype of an input's signature, encoded in the last byte of the signature /// Fixed values so they can be casted as integer types for encoding #[derive(PartialEq, Eq, Debug, Copy, Clone)] pub enum SigHashType {