diff --git a/src/util/taproot.rs b/src/util/taproot.rs index 0330d93d..a511fc9f 100644 --- a/src/util/taproot.rs +++ b/src/util/taproot.rs @@ -122,10 +122,10 @@ impl TapLeafHash { let mut eng = TapLeafHash::engine(); ver.as_u8() .consensus_encode(&mut eng) - .expect("engines don't err"); + .expect("engines don't error"); script .consensus_encode(&mut eng) - .expect("engines don't err"); + .expect("engines don't error"); TapLeafHash::from_engine(eng) } }