Commit 26730ff
GeoPlugin: Return empty collection if address was not found (#814)
* Return empty collection if address was not found
If the location of the ip address cannot be determined by GeoPlugin, return an empty AddressCollection instead of dummy data. This is particularly useful when using the Chain provider.
* Fix code style
Fix code style1 parent f4fe7df commit 26730ff
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
88 | 99 | | |
89 | 100 | | |
90 | 101 | | |
| |||
0 commit comments