Fix crash.
Add default constructor for Config.ApiUrlVersionConfig class
to avoid crash.
@@ -584,6 +584,10 @@ public class Config {
@SerializedName("BLOCKS")
private String blocksApiVersion;
+ public ApiUrlVersionConfig() {
+ blocksApiVersion = DEFAULT_API_VERSION;
+ }
+
public ApiUrlVersionConfig(@NonNull String blocksApiVersion) {
this.blocksApiVersion = blocksApiVersion;
}
