From dd0ef49edb692e3e439cfc1fc57327fd80858d2c Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sun, 29 Mar 2026 14:21:45 +0200 Subject: [PATCH] [fix](trx-client): add missing protocol_version field to ClientEnvelope constructors Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Stan Grams --- src/trx-client/src/remote_client.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/trx-client/src/remote_client.rs b/src/trx-client/src/remote_client.rs index 28731a8..fb90193 100644 --- a/src/trx-client/src/remote_client.rs +++ b/src/trx-client/src/remote_client.rs @@ -363,6 +363,7 @@ async fn handle_spectrum_connection( token: config.token.clone(), rig_id: wire_rig_id, cmd: ClientCommand::GetSpectrum, + protocol_version: Some(trx_protocol::types::PROTOCOL_VERSION), }; match send_envelope_no_state_update(&mut writer, &mut reader, envelope).await { Ok(snapshot) => { @@ -569,6 +570,7 @@ fn build_envelope( token: config.token.clone(), rig_id: wire_rig_id, cmd, + protocol_version: Some(trx_protocol::types::PROTOCOL_VERSION), } }