Skip to content

Commit

Permalink
add back partial eq
Browse files Browse the repository at this point in the history
  • Loading branch information
brady.ouren committed Jul 15, 2024
1 parent 90bf79b commit 6dd6a67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/db/cache/transaction_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ mod test {
// ledger entry is minted with the correct amount
assert_eq!(ledger_entry.amount, Some(db_rune.terms_amount.unwrap()));

// test: minted amount is added to the input runes (`cache.input_runes`)
// minted amount is added to the input runes (`cache.input_runes`)
assert!(cache.input_runes.contains_key(&rune_id));
}

Expand Down
2 changes: 1 addition & 1 deletion src/db/types/pg_numeric_u128.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub fn pg_numeric_bytes_to_u128(raw: &[u8]) -> u128 {
result
}

#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct PgNumericU128(pub u128);

impl ToSql for PgNumericU128 {
Expand Down

0 comments on commit 6dd6a67

Please sign in to comment.