Skip to content

Commit

Permalink
Pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner committed Feb 26, 2024
1 parent 1cebdbd commit 216a224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database/factories/BlockFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class BlockFactory extends Factory
public function definition()
{
return [
'number' => $this->faker->numberBetween(1),
'number' => $this->faker->numberBetween(1, 1000000),
'hash' => $this->faker->unique()->public_key(),
];
}
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Laravel/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function prunable(): Builder
return static::where('created_at', '<=', now()->subDays($days));
}

return static::where('id', 0);
return static::query();
}

/**
Expand Down

0 comments on commit 216a224

Please sign in to comment.