Repository navigation
Commit 5e590fc
committed
DefaultParserProvider: validate network in forNetwork()
A parser returned from forNetwork() with an invalid network would
throw when any address is parsed, but this change will fail sooner
(i.e. before the parser is created.)1 parent a3001e9 commit 5e590fc
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
0 commit comments