From 66f6c0353ec0cb9e04b3cb553c455160e9a0c10d Mon Sep 17 00:00:00 2001 From: Stan Bondi Date: Thu, 9 Mar 2023 13:31:40 +0400 Subject: [PATCH] fix(wallet): remove mislabeled checks in transaction builder --- .../transaction_protocol/transaction_initializer.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base_layer/core/src/transactions/transaction_protocol/transaction_initializer.rs b/base_layer/core/src/transactions/transaction_protocol/transaction_initializer.rs index 3735e680fa..99d61a7135 100644 --- a/base_layer/core/src/transactions/transaction_protocol/transaction_initializer.rs +++ b/base_layer/core/src/transactions/transaction_protocol/transaction_initializer.rs @@ -488,9 +488,7 @@ impl SenderTransactionInitializer { Self::check_value("Missing Lock Height", &self.lock_height, &mut message); Self::check_value("Missing Fee per gram", &self.fee_per_gram, &mut message); Self::check_value("Missing Offset", &self.offset, &mut message); - Self::check_value("Change script", &self.private_nonce, &mut message); - Self::check_value("Change input data", &self.private_nonce, &mut message); - Self::check_value("Change script private key", &self.private_nonce, &mut message); + Self::check_value("Missing private nonce", &self.private_nonce, &mut message); if !message.is_empty() { return self.build_err(&message.join(","));