diff --git a/bitcoin/src/blockdata/script/mod.rs b/bitcoin/src/blockdata/script/mod.rs index b13088d0..1e6f0cef 100644 --- a/bitcoin/src/blockdata/script/mod.rs +++ b/bitcoin/src/blockdata/script/mod.rs @@ -62,7 +62,6 @@ use serde; use crate::blockdata::opcodes::{self, all::*}; use crate::consensus::{encode, Decodable, Encodable}; use crate::hash_types::{ScriptHash, WScriptHash}; -use crate::hashes::hex; use crate::{io, OutPoint}; use crate::prelude::*; @@ -344,14 +343,6 @@ impl From<&Script> for WScriptHash { } } -impl core::str::FromStr for ScriptBuf { - type Err = hex::Error; - #[inline] - fn from_str(s: &str) -> Result { - ScriptBuf::from_hex(s) - } -} - impl AsRef