Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed May 19, 2024
1 parent f37fff5 commit b056534
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion groestlcoin/src/blockdata/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1965,7 +1965,7 @@ mod tests {
);
assert_eq!(
format!("{:.10x}", tx.compute_txid()),
"9652aa62b0"
"fc21840118"
);
assert_eq!(tx.weight(), Weight::from_wu(2718));

Expand Down
2 changes: 1 addition & 1 deletion groestlcoin/src/hash_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mod tests {
);
assert_eq!(
BlockHash::hash(&[]).to_string(),
"56944c5d3f98413ef45cf54545538103cc9f298e0575820ad3591376e2e0f65d",
"5ea6b3ce1e127fa47a491084b10542e0436c82fb0ec51557f8dfc686d314fbfd",
);
assert_eq!(
LegacySighash::hash(&[]).to_string(),
Expand Down
4 changes: 2 additions & 2 deletions units/src/locktime/absolute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl Height {
///
/// # Examples
/// ```rust
/// use bitcoin_units::locktime::absolute::Height;
/// use groestlcoin_units::locktime::absolute::Height;
///
/// let h: u32 = 741521;
/// let height = Height::from_consensus(h).expect("invalid height value");
Expand Down Expand Up @@ -147,7 +147,7 @@ impl Time {
///
/// # Examples
/// ```rust
/// use bitcoin_units::locktime::absolute::Time;
/// use groestlcoin_units::locktime::absolute::Time;
///
/// let t: u32 = 1653195600; // May 22nd, 5am UTC.
/// let time = Time::from_consensus(t).expect("invalid time value");
Expand Down

0 comments on commit b056534

Please sign in to comment.