Skip to content

Commit

Permalink
rename pubscript --> public announcement
Browse files Browse the repository at this point in the history
Some appearances of the prior term had not been renamed yet.
  • Loading branch information
aszepieniec committed Feb 14, 2024
1 parent 89ef48c commit 46b6fb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/blockchain/transaction/transaction_kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub fn pseudorandom_transaction_kernel(
seed: [u8; 32],
num_inputs: usize,
num_outputs: usize,
num_pubscripts: usize,
num_public_announcements: usize,
) -> TransactionKernel {
let mut rng: StdRng = SeedableRng::from_seed(seed);
let inputs = (0..num_inputs)
Expand All @@ -112,7 +112,7 @@ pub fn pseudorandom_transaction_kernel(
let outputs = (0..num_outputs)
.map(|_| pseudorandom_addition_record(rng.gen::<[u8; 32]>()))
.collect_vec();
let pubscripts = (0..num_pubscripts)
let pubscripts = (0..num_public_announcements)
.map(|_| pseudorandom_public_announcement(rng.gen::<[u8; 32]>()))
.collect_vec();
let fee = pseudorandom_amount(rng.gen::<[u8; 32]>());
Expand Down

0 comments on commit 46b6fb7

Please sign in to comment.