mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-28 09:24:15 -04:00
refactor wallet poll loops to further minimize requests
This commit is contained in:
parent
5c0d9a1ae5
commit
9d9635ff50
7 changed files with 140 additions and 139 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue