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:
parent
5bd61967b2
commit
7f73d5f7db
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue