mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-14 12:43:03 +02:00
Add a dedicated helper that rejects any chainhash string unless it is exactly 64 hex characters long, instead of relying on btcd's lenient parser semantics. Cover the helper with focused tests for valid, short, odd-length, empty, and non-hex inputs so later call sites can use it as a full-txid validation primitive. |
||
|---|---|---|
| .. | ||
| strict.go | ||
| strict_test.go | ||