Fix incorrect documentation for is_p2pk(...) (#331)
This commit is contained in:
parent
de9ccdec89
commit
0b08978af2
|
@ -266,7 +266,7 @@ impl Script {
|
|||
self.0[24] == opcodes::all::OP_CHECKSIG.into_u8()
|
||||
}
|
||||
|
||||
/// Checks whether a script pubkey is a p2pkh output
|
||||
/// Checks whether a script pubkey is a p2pk output
|
||||
#[inline]
|
||||
pub fn is_p2pk(&self) -> bool {
|
||||
(self.0.len() == 67 &&
|
||||
|
|
Loading…
Reference in New Issue