From 31d254a6a85c7f96f4bdabf9735737c72abb34da Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 10 Feb 2023 11:59:37 +1100 Subject: [PATCH] Fix push operators URL The URL is wrong (section `#Push_operators` should be `#push-operators`), also should use angle brackets not back ticks. --- bitcoin/src/blockdata/script/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/blockdata/script/mod.rs b/bitcoin/src/blockdata/script/mod.rs index 5c17c6ee..c4e027fa 100644 --- a/bitcoin/src/blockdata/script/mod.rs +++ b/bitcoin/src/blockdata/script/mod.rs @@ -213,7 +213,7 @@ fn opcode_to_verify(opcode: Option) -> Option { #[non_exhaustive] pub enum Error { /// Something did a non-minimal push; for more information see - /// `https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki#Push_operators` + /// NonMinimalPush, /// Some opcode expected a parameter but it was missing or truncated. EarlyEndOfScript,