From de6794e9b29e1d9fe560ade47e3bd0dc23b0f3bb Mon Sep 17 00:00:00 2001 From: Jorge Rego Date: Mon, 5 Sep 2022 13:07:47 +0200 Subject: [PATCH] fix: rolled back types to keep consistency with previous code. --- .../hummingbird/registry/CryptoCoinInfo.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/sparrowwallet/hummingbird/registry/CryptoCoinInfo.java b/src/main/java/com/sparrowwallet/hummingbird/registry/CryptoCoinInfo.java index fa620a3..f3be53a 100644 --- a/src/main/java/com/sparrowwallet/hummingbird/registry/CryptoCoinInfo.java +++ b/src/main/java/com/sparrowwallet/hummingbird/registry/CryptoCoinInfo.java @@ -73,9 +73,9 @@ public class CryptoCoinInfo extends RegistryItem { public enum Type { BITCOIN(0), ETHEREUM(60); - int typeValue; + Integer typeValue; - Type(int typeValue) { + Type(Integer typeValue) { this.typeValue = typeValue; } @@ -93,9 +93,9 @@ public class CryptoCoinInfo extends RegistryItem { public enum Network { MAINNET(0), TESTNET(1), GOERLI(4); - int networkValue; + Integer networkValue; - Network(int networkValue) { + Network(Integer networkValue) { this.networkValue = networkValue; }