What changed, and why it matters
This commit fixes a spelling mistake in an error message. The phrase 'bounds of of hashchain' is corrected to 'bounds of hashchain'. There is no change to program logic, behavior, or security.
Recommended action
No security action needed. Treat as a routine non-functional cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
A one-character typo in the human-readable error string of the out_of_hashchain_bounds_error exception is corrected. The constructor and all surrounding code remain unchanged. This is a cosmetic string fix only.
Changed components
src/wallet/wallet_errors.hInspect captured patch +1 / −1
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h
index acfe703..1ca1b21 100644
--- a/src/wallet/wallet_errors.h
+++ b/src/wallet/wallet_errors.h
@@ -442,7 +442,7 @@ namespace tools
struct out_of_hashchain_bounds_error : public refresh_error
{
explicit out_of_hashchain_bounds_error(std::string&& loc)
- : refresh_error(std::move(loc), "Index out of bounds of of hashchain")
+ : refresh_error(std::move(loc), "Index out of bounds of hashchain")
{
}
Risk score
Our methodology →Why this scored 15/100
Human-validated context
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
No validated notes yet.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.