(in map[string]string)
| 2405 | } |
| 2406 | |
| 2407 | func cloneMemoryStringMap(in map[string]string) map[string]string { |
| 2408 | out := make(map[string]string, len(in)+4) |
| 2409 | for key, value := range in { |
| 2410 | if strings.TrimSpace(key) == "" { |
| 2411 | continue |
| 2412 | } |
| 2413 | out[strings.TrimSpace(key)] = strings.TrimSpace(value) |
| 2414 | } |
| 2415 | return out |
| 2416 | } |
| 2417 | |
| 2418 | func defaultMemorySelectorScope(selector memorySelector) memcontract.Scope { |
| 2419 | if scope := selector.Scope.Normalize(); scope != "" { |
no outgoing calls
no test coverage detected