Skip to content

Commit

Permalink
Merge pull request m2049r#6 from reeyon/blocktime
Browse files Browse the repository at this point in the history
WalletService.java: adjust blocktime
  • Loading branch information
LPHuynh authored Aug 26, 2019
2 parents c288bc2 + ea9a84b commit cd26486
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void refreshed() {
private long lastDaemonStatusUpdate = 0;
private long daemonHeight = 0;
private Wallet.ConnectionStatus connectionStatus = Wallet.ConnectionStatus.ConnectionStatus_Disconnected;
private static final long STATUS_UPDATE_INTERVAL = 120000; // 120s (blocktime)
private static final long STATUS_UPDATE_INTERVAL = 15000; // swap 15s (blocktime)

private void updateDaemonState(Wallet wallet, long height) {
long t = System.currentTimeMillis();
Expand Down

0 comments on commit cd26486

Please sign in to comment.