doc: correct SigHashType doc comment

Super nit, but a hashtype is not specific to a transaction but a
signature.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This commit is contained in:
Antoine Poinsot 2021-02-18 19:48:39 +01:00
parent 5bd61967b2
commit 7f73d5f7db
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304
1 changed files with 1 additions and 1 deletions

View File

@ -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 /// Fixed values so they can be casted as integer types for encoding
#[derive(PartialEq, Eq, Debug, Copy, Clone)] #[derive(PartialEq, Eq, Debug, Copy, Clone)]
pub enum SigHashType { pub enum SigHashType {