fix: rolled back types to keep consistency with previous code.

This commit is contained in:
Jorge Rego 2022-09-05 13:07:47 +02:00
parent 0738702e20
commit de6794e9b2

View file

@ -73,9 +73,9 @@ public class CryptoCoinInfo extends RegistryItem {
public enum Type { public enum Type {
BITCOIN(0), ETHEREUM(60); BITCOIN(0), ETHEREUM(60);
int typeValue; Integer typeValue;
Type(int typeValue) { Type(Integer typeValue) {
this.typeValue = typeValue; this.typeValue = typeValue;
} }
@ -93,9 +93,9 @@ public class CryptoCoinInfo extends RegistryItem {
public enum Network { public enum Network {
MAINNET(0), TESTNET(1), GOERLI(4); MAINNET(0), TESTNET(1), GOERLI(4);
int networkValue; Integer networkValue;
Network(int networkValue) { Network(Integer networkValue) {
this.networkValue = networkValue; this.networkValue = networkValue;
} }