From 29f529a66f3aed5417afb1a374184ae19c46f51f Mon Sep 17 00:00:00 2001 From: Rigidity Date: Wed, 6 Dec 2023 17:00:23 -0500 Subject: [PATCH] Rename messages --- chia-protocol/src/chia_protocol.rs | 4 ++-- chia-protocol/src/wallet_protocol.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chia-protocol/src/chia_protocol.rs b/chia-protocol/src/chia_protocol.rs index f9db76d37..ac9225756 100644 --- a/chia-protocol/src/chia_protocol.rs +++ b/chia-protocol/src/chia_protocol.rs @@ -123,8 +123,8 @@ pub enum ProtocolMessageTypes { RespondFeeEstimates = 90, // Extended wallet protocol - UnregisterForPhUpdates = 92, - UnregisterForCoinUpdates = 93, + UnregisterPhUpdates = 92, + UnregisterCoinUpdates = 93, } pub trait ChiaProtocolMessage { diff --git a/chia-protocol/src/wallet_protocol.rs b/chia-protocol/src/wallet_protocol.rs index 560716675..344cbdd03 100644 --- a/chia-protocol/src/wallet_protocol.rs +++ b/chia-protocol/src/wallet_protocol.rs @@ -148,11 +148,11 @@ message_struct! (RespondToCoinUpdates { coin_states: Vec, }); -message_struct! (UnregisterForPhUpdates { +message_struct! (UnregisterPhUpdates { puzzle_hashes: Vec, }); -message_struct! (UnregisterForCoinUpdates { +message_struct! (UnregisterCoinUpdates { coin_ids: Vec, });