Fix incorrect documentation for is_p2pk(...) (#331)

This commit is contained in:
practicalswift 2019-09-21 13:33:44 +02:00 committed by Tamás Blummer
parent de9ccdec89
commit 0b08978af2
1 changed files with 1 additions and 1 deletions

View File

@ -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 &&