From 0b08978af21725f9c112802fd5e2a5cf4f43c0c4 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Sat, 21 Sep 2019 13:33:44 +0200 Subject: [PATCH] Fix incorrect documentation for is_p2pk(...) (#331) --- src/blockdata/script.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockdata/script.rs b/src/blockdata/script.rs index 11a79e0a..0d51be5e 100644 --- a/src/blockdata/script.rs +++ b/src/blockdata/script.rs @@ -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 &&