> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function do_sync_state_without_handshake_discovery

Module: `noir_aztec::messages::discovery`

```rust
pub unconstrained fn do_sync_state_without_handshake_discovery(
    contract_address: AztecAddress,
    compute_note_hash: ComputeNoteHash,
    compute_note_nullifier: ComputeNoteNullifier,
    process_custom_message: Option<CustomMessageHandler>,
    offchain_inbox_sync: Option<OffchainInboxSync>,
    scope: AztecAddress,
)
```

Variant of [`do_sync_state`](/aztec-nr-api/v6.0.0/noir_aztec/messages/discovery/fn.do_sync_state.md) that skips handshake secret discovery. Used by the HandshakeRegistry to avoid infinite recursion (the registry discovers handshakes for other contracts, not for itself).
