forked from Qortal/qortal
Set hasOurOnlineAccounts to true if one of our accounts is found before signing.
This commit is contained in:
parent
ea4f4d949b
commit
c7cf33ef78
@ -517,6 +517,8 @@ public class OnlineAccountsManager {
|
||||
Set<OnlineAccountData> onlineAccounts = this.currentOnlineAccounts.computeIfAbsent(onlineAccountsTimestamp, k -> ConcurrentHashMap.newKeySet());
|
||||
boolean alreadyExists = onlineAccounts.stream().anyMatch(a -> Arrays.equals(a.getPublicKey(), publicKey));
|
||||
if (alreadyExists) {
|
||||
this.hasOurOnlineAccounts = true;
|
||||
|
||||
if (remaining > 0) {
|
||||
// Move on to next account
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user