refactor wallet poll loops to further minimize requests

This commit is contained in:
woodser 2024-04-21 13:11:24 -04:00
parent 5c0d9a1ae5
commit 9d9635ff50
7 changed files with 140 additions and 139 deletions

View file

@ -131,7 +131,7 @@ public class TxIdTextField extends AnchorPane {
txUpdater = new MoneroWalletListener() {
@Override
public void onNewBlock(long lastBlockHeight) {
updateConfidence(txId, false, lastBlockHeight + 1);
updateConfidence(txId, false, lastBlockHeight);
}
};
xmrWalletService.addWalletListener(txUpdater);