fix testing tool and remove unused const

This commit is contained in:
Pascal Fischer
2025-06-28 15:45:07 +02:00
parent c66bd0cc71
commit ad50e07325
3 changed files with 4 additions and 3 deletions
+3
View File
@@ -906,6 +906,9 @@ func (am *DefaultAccountManager) LoginPeer(ctx context.Context, login types.Peer
if updateRemotePeers || isStatusChanged || (isPeerUpdated && len(postureChecks) > 0) {
err = transaction.IncrementNetworkSerial(ctx, store.LockingStrengthUpdate, accountID)
if err != nil {
return fmt.Errorf("failed to increment network serial: %w", err)
}
}
return nil