From ad82ed71796c79399cd8a81814b1af61c4ca3582 Mon Sep 17 00:00:00 2001 From: yancy Date: Thu, 14 Nov 2024 15:20:41 -0600 Subject: [PATCH] Fix spelling typo --- bitcoin/src/blockdata/block.rs | 2 +- bitcoin/src/blockdata/script/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();