diff --git a/app/src/main/java/com/m2049r/xmrwallet/NodeFragment.java b/app/src/main/java/com/m2049r/xmrwallet/NodeFragment.java index c6c0bef..e5781d0 100644 --- a/app/src/main/java/com/m2049r/xmrwallet/NodeFragment.java +++ b/app/src/main/java/com/m2049r/xmrwallet/NodeFragment.java @@ -266,6 +266,7 @@ public class NodeFragment extends Fragment seedList.add(new NodeInfo(new InetSocketAddress("198.74.231.92", 18080))); seedList.add(new NodeInfo(new InetSocketAddress("195.154.123.123", 18080))); seedList.add(new NodeInfo(new InetSocketAddress("212.83.172.165", 18080))); + seedList.add(new NodeInfo(new InetSocketAddress("192.110.160.146", 18080))); d.seedPeers(seedList); d.awaitTermination(NODES_TO_FIND); } diff --git a/app/src/main/java/com/m2049r/xmrwallet/data/NodeInfo.java b/app/src/main/java/com/m2049r/xmrwallet/data/NodeInfo.java index 94c7fa2..b4d3b1b 100644 --- a/app/src/main/java/com/m2049r/xmrwallet/data/NodeInfo.java +++ b/app/src/main/java/com/m2049r/xmrwallet/data/NodeInfo.java @@ -235,6 +235,8 @@ public class NodeInfo extends Node { String rpcVersion = json.getString("jsonrpc"); if (!RPC_VERSION.equals(rpcVersion)) return false; + if (!json.has("credits")) // introduced in monero v0.15.0 + return false; final JSONObject header = json.getJSONObject( "result").getJSONObject("block_header"); height = header.getLong("height");