Mining/pkg
Claude 09f6f12f08
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
ax(node): fix TestProtocol_ValidateResponse_Ugly comment and assertion
ValidateResponse wraps type-mismatch in *ProtocolError (correct behaviour).
The docstring example showed the wrong negation and the assertion fired on
every run. Both the comment (AX §2 — comments as accurate usage examples)
and the guard were inverted; corrected to !IsProtocolError.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 16:56:38 +01:00
..
database ax(database): replace prose interface comments with usage examples 2026-04-02 14:22:42 +01:00
logging ax(logging): rename mu to mutex for predictable naming 2026-04-02 14:22:38 +01:00
mining ax(mining): replace prose comments with usage examples in service.go 2026-04-02 16:55:07 +01:00
node ax(node): fix TestProtocol_ValidateResponse_Ugly comment and assertion 2026-04-02 16:56:38 +01:00
ueps ax(ueps): use sharedSecret over short name secret in comment example 2026-04-02 14:23:04 +01:00