Commit 4889d6c
HostIp: Return empty collection if address was not found (#812)
* Return empty collection if address was not found
If the location of the ip address cannot be determined by HostIp, return an empty AddressCollection instead of dummy data. This is particularly useful when using the Chain provider.
* Fix code style
Fix code style1 parent 142f29c commit 4889d6c
1 file changed
Lines changed: 18 additions & 0 deletions
| 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 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
88 | 106 | | |
89 | 107 | | |
90 | 108 | | |
| |||
0 commit comments