Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-yu committed Jan 10, 2024
1 parent db216f6 commit d9bbee7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/index/updater/inscription_updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub(super) struct Flotsam {
origin: Origin,
}

#[allow(clippy::large_enum_variant)]
#[derive(Debug, Clone)]
enum Origin {
New {
Expand Down
2 changes: 0 additions & 2 deletions src/sat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,10 +631,8 @@ mod tests {

case(0);
case(1);
case(50 * COIN_VALUE - 1);
case(50 * COIN_VALUE);
case(50 * COIN_VALUE + 1);
case(2067187500000000 - 1);
case(2067187500000000);
case(2067187500000000 + 1);
}
Expand Down

0 comments on commit d9bbee7

Please sign in to comment.