Skip to content

Commit

Permalink
Fix spelling typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yancyribbens committed Nov 14, 2024
1 parent 8fe5ffd commit ad82ed7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitcoin/src/blockdata/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/src/blockdata/script/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ad82ed7

Please sign in to comment.