mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
Merge pull request #456 from ethersphere/fix-hashmatcher
Fix hashMatcher
This commit is contained in:
commit
9cbaf29376
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ import (
|
|||
)
|
||||
|
||||
// TODO: this is bad, it should not be hardcoded how long is a hash
|
||||
var hashMatcher = regexp.MustCompile("^([0-9A-Fa-f]{64})([0-9A-Fa-f]{64})?")
|
||||
var hashMatcher = regexp.MustCompile("^([0-9A-Fa-f]{64})([0-9A-Fa-f]{64})?$")
|
||||
|
||||
type ErrResourceReturn struct {
|
||||
key string
|
||||
|
|
|
|||
Loading…
Reference in a new issue