diff --git a/examples/src/main/java/org/bitcoinj/examples/PeerMonitor.java b/examples/src/main/java/org/bitcoinj/examples/PeerMonitor.java index c2b14d3fa..841b89a61 100644 --- a/examples/src/main/java/org/bitcoinj/examples/PeerMonitor.java +++ b/examples/src/main/java/org/bitcoinj/examples/PeerMonitor.java @@ -220,8 +220,9 @@ public class PeerMonitor { case CHAIN_HEIGHT: return peer.getBestHeight(); case PING_TIME: + return peer.getPingTime(); case LAST_PING_TIME: - return col == PING_TIME ? peer.getPingTime() : peer.getLastPingTime(); + return peer.getLastPingTime(); default: throw new RuntimeException(); }