Skip to content

Commit

Permalink
style: rename var: utxo_receiver -> tx_output
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-da committed Jul 9, 2024
1 parent 2de9d13 commit 6438d24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ impl GlobalState {
.wallet_secret
.generate_sender_randomness(block_height, change_address.privacy_digest());

let utxo_receiver = match change_utxo_notify_method {
let tx_output = match change_utxo_notify_method {
UtxoNotifyMethod::OnChainPubKey => {
let public_announcement =
change_address.generate_public_announcement(&utxo, sender_randomness)?;
Expand All @@ -578,7 +578,7 @@ impl GlobalState {
),
};

tx_outputs.push(utxo_receiver);
tx_outputs.push(tx_output);
}

// 2. Create the transaction
Expand Down

0 comments on commit 6438d24

Please sign in to comment.