Gofmt
This commit is contained in:
@@ -3,6 +3,7 @@ package identity
|
||||
import (
|
||||
"regexp"
|
||||
)
|
||||
|
||||
// Define the regex patterns as constants
|
||||
const (
|
||||
addressRegex = `^0x[a-fA-F0-9]{40}$`
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
// Identity contains all flavors of identifiers used across stream, api and
|
||||
// client for a single agent.
|
||||
type Identity struct {
|
||||
NormalAddress string
|
||||
NormalAddress string
|
||||
ChecksumAddress string
|
||||
SessionId string
|
||||
SessionId string
|
||||
}
|
||||
|
||||
// CheckRecipient validates the recipient format based on the criteria
|
||||
|
||||
Reference in New Issue
Block a user