minor change

This commit is contained in:
crn4
2025-10-29 15:40:21 +01:00
parent f193f0fa9d
commit 8875168d2b

View File

@@ -26,6 +26,9 @@ func (am *DefaultAccountManager) getPeerNetworkMapExp(
metrics *telemetry.AccountManagerMetrics,
) *types.NetworkMap {
account := am.getAccountFromHolder(accountId)
if account == nil {
log.WithContext(ctx).Warnf("account %s not found in holder when getting peer network map", accountId)
}
return account.GetPeerNetworkMapExp(ctx, peerId, customZone, validatedPeers, metrics)
}