Fix spelling typo

This commit is contained in:
yancy 2024-11-14 15:20:41 -06:00
parent 8fe5ffde4c
commit ad82ed7179
2 changed files with 2 additions and 2 deletions

View File

@ -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());
}

View File

@ -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();