This repository has been archived by the owner on Jun 9, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Error Handling for Commit Length in Miner Configuration (#1450)
## Bug: The function incorrectly returns nil when the Git commit length is not equal to 40, potentially causing unclear failures. ## Fix: Correct the error handling to return a specific error when the commit length check fails. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Updated configuration validation to ensure the git commit length is correctly verified. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information