mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
Dont' call updateBsqBalance while batch processing
We got a concurrent modification error when BTC blockchain sync was running while DAO state was updated.
This commit is contained in:
parent
fb3ca06600
commit
eb2975aefb
1 changed files with 3 additions and 2 deletions
|
@ -314,9 +314,10 @@ public class BsqWalletService extends WalletService implements DaoStateListener
|
||||||
|
|
||||||
private void updateBsqWalletTransactions() {
|
private void updateBsqWalletTransactions() {
|
||||||
walletTransactions.setAll(getTransactions(false));
|
walletTransactions.setAll(getTransactions(false));
|
||||||
// walletTransactions.setAll(getBsqWalletTransactions());
|
if (daoStateService.isParseBlockChainComplete()) {
|
||||||
updateBsqBalance();
|
updateBsqBalance();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private Set<Transaction> getBsqWalletTransactions() {
|
private Set<Transaction> getBsqWalletTransactions() {
|
||||||
return getTransactions(false).stream()
|
return getTransactions(false).stream()
|
||||||
|
|
Loading…
Add table
Reference in a new issue