Skip to content

Commit

Permalink
fix(wallet): remove mislabeled checks in transaction builder
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Mar 9, 2023
1 parent ba66597 commit 66f6c03
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(","));
Expand Down

0 comments on commit 66f6c03

Please sign in to comment.