Skip to content

Commit

Permalink
fix based on review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-arte committed Feb 6, 2025
1 parent 51c284b commit f172909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zcash_test_vectors/transaction_v6.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(self, rand, anchor_orchard, proofs_orchard, is_coinbase):
# There must always be a non-zero number of Action Descriptions in an Action Group.
for _ in range(rand.u8() % 4 + 1):
self.vActionsOrchard.append(OrchardZSAActionDescription(rand))
# Three flag bits are defined, ensure the other bits are zero by masking.
# Three flag bits are defined, ensure only 3 bits used (mask with 0b00000111).
self.flagsOrchard = (rand.u8() & 7)
# Set the enableZSAs flag to true by OR with 0b00000100
self.flagsOrchard |= 4
Expand Down

0 comments on commit f172909

Please sign in to comment.