diff --git a/bitcoin/src/blockdata/block.rs b/bitcoin/src/blockdata/block.rs index caa61b4a43..131d1f1c24 100644 --- a/bitcoin/src/blockdata/block.rs +++ b/bitcoin/src/blockdata/block.rs @@ -543,7 +543,7 @@ mod tests { } #[test] - fn compact_roundrtip() { + fn compact_roundtrip() { let header = header(); assert_eq!(header.bits, header.target().to_compact_lossy()); } diff --git a/bitcoin/src/blockdata/script/tests.rs b/bitcoin/src/blockdata/script/tests.rs index df10e605a7..5a3409af6c 100644 --- a/bitcoin/src/blockdata/script/tests.rs +++ b/bitcoin/src/blockdata/script/tests.rs @@ -682,7 +682,7 @@ fn test_bitcoinconsensus() { } #[test] -fn defult_dust_value() { +fn default_dust_value() { // Check that our dust_value() calculator correctly calculates the dust limit on common // well-known scriptPubKey types. let script_p2wpkh = Builder::new().push_int_unchecked(0).push_slice([42; 20]).into_script();