diff --git a/wallettemplate/src/main/java/wallettemplate/utils/BitcoinUIModel.java b/wallettemplate/src/main/java/wallettemplate/utils/BitcoinUIModel.java index 6958b966..648be6f8 100644 --- a/wallettemplate/src/main/java/wallettemplate/utils/BitcoinUIModel.java +++ b/wallettemplate/src/main/java/wallettemplate/utils/BitcoinUIModel.java @@ -43,8 +43,8 @@ public class BitcoinUIModel { private class ProgressBarUpdater extends DownloadListener { @Override - protected void progress(double pct, int blocksSoFar, Date date) { - super.progress(pct, blocksSoFar, date); + protected void progress(double pct, int blocksLeft, Date date) { + super.progress(pct, blocksLeft, date); Platform.runLater(() -> syncProgress.set(pct / 100.0)); }