Merge pull request #5840 from chimp1984/add-i2p-to-btc-core-networktypes

Add I2P as enum entry
This commit is contained in:
Christoph Atteneder 2021-11-18 18:34:17 +01:00 committed by GitHub
commit b5a43c7f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ public class DtoNetworkInfo {
@RequiredArgsConstructor
public enum NetworkType {
IPV4("ipv4"), IPV6("ipv6"), ONION("onion");
IPV4("ipv4"), IPV6("ipv6"), ONION("onion"), I2P("i2p");
@Getter(onMethod_ = @JsonValue)
private final String name;