Skip to content

Commit 600571d

Browse files
committed
Make changes according to #17 PR review
1 parent 25a44a2 commit 600571d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

zebra-chain/src/orchard/orchard_flavor_ext.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ pub trait OrchardFlavorExt: Clone + Debug {
3939
type BurnType: Clone + Debug + Default + ZcashDeserialize + ZcashSerialize;
4040
}
4141

42-
/// A structure representing a tag for Orchard protocol variant used for the transaction version `V5`.
42+
/// A structure representing a tag for Orchard protocol variant used for the transaction version 5.
4343
#[derive(Clone, Debug, PartialEq, Eq, Serialize)]
4444
#[cfg_attr(any(test, feature = "proptest-impl"), derive(Arbitrary))]
4545
pub struct OrchardVanilla;
4646

47-
/// A structure representing a tag for Orchard protocol variant used for the transaction version `V6`
48-
/// (which ZSA features support).
47+
/// A structure representing a tag for Orchard protocol variant used for the transaction version 6
48+
/// (which support for ZSAs).
4949
#[cfg(feature = "tx-v6")]
5050
#[derive(Clone, Debug, PartialEq, Eq, Serialize)]
5151
#[cfg_attr(any(test, feature = "proptest-impl"), derive(Arbitrary))]

zebra-chain/src/orchard_zsa/issuance.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ impl ZcashDeserialize for IssueAction {
189189

190190
impl TrustedPreallocate for IssueAction {
191191
fn max_allocation() -> u64 {
192-
// FIXME: impl correct calculation
193-
10
192+
(MAX_BLOCK_BYTES - 1) / 3
194193
}
195194
}
196195

0 commit comments

Comments
 (0)