[management] pass temporary flag to validator (#4599)

This commit is contained in:
Pascal Fischer
2025-10-10 16:15:51 +02:00
committed by GitHub
parent bedd3cabc9
commit 5151f19d29
5 changed files with 7 additions and 7 deletions

View File

@@ -578,7 +578,7 @@ func (am *DefaultAccountManager) AddPeer(ctx context.Context, accountID, setupKe
}
}
newPeer = am.integratedPeerValidator.PreparePeer(ctx, accountID, newPeer, groupsToAdd, settings.Extra)
newPeer = am.integratedPeerValidator.PreparePeer(ctx, accountID, newPeer, groupsToAdd, settings.Extra, temporary)
network, err := am.Store.GetAccountNetwork(ctx, store.LockingStrengthNone, accountID)
if err != nil {