mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Co-authored-by: Marcus Baldassarre <baldassarremarcus@gmail.com>
This commit is contained in:
parent
c0747977e2
commit
fd42d8b292
1 changed files with 4 additions and 0 deletions
|
|
@ -122,6 +122,10 @@ func (e wsHandshakeError) Error() string {
|
|||
return s
|
||||
}
|
||||
|
||||
func (e wsHandshakeError) Unwrap() error {
|
||||
return e.err
|
||||
}
|
||||
|
||||
func originIsAllowed(allowedOrigins mapset.Set[string], browserOrigin string) bool {
|
||||
it := allowedOrigins.Iterator()
|
||||
for origin := range it.C {
|
||||
|
|
|
|||
Loading…
Reference in a new issue