Skip to content

Commit ef0b045

Browse files
sanityclaude
andcommitted
refactor: change SubscriptionInfo.contract_key to ContractInstanceId
Subscriptions are identified by instance ID, not full ContractKey. This aligns with the GET/SUBSCRIBE refactor that uses ContractInstanceId. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent b1d8677 commit ef0b045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/client_api/client_events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ pub struct SystemMetrics {
798798

799799
#[derive(Serialize, Deserialize, Debug, Clone)]
800800
pub struct SubscriptionInfo {
801-
pub contract_key: ContractKey,
801+
pub contract_key: ContractInstanceId,
802802
pub client_id: usize,
803803
}
804804

0 commit comments

Comments
 (0)