Skip to content

Commit

Permalink
Merge pull request #29 from Zondax/dev
Browse files Browse the repository at this point in the history
feat: pub calculate_zip0317_fee
  • Loading branch information
jleni committed Apr 4, 2024
2 parents febfcf7 + 5585ccc commit 343b216
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ledger-zcash/src/txbuilder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,10 @@ impl Builder {
}

impl Builder {
fn calculate_zip0317_fee(
/// Calculate the fee according to ZIP-0317 for the given transaction elements
///
/// Note: non-p2pk, joinsplits and orchard are not supported
pub fn calculate_zip0317_fee(
tins_n: usize,
touts_n: usize,
sapling_spends_n: usize,
Expand Down

0 comments on commit 343b216

Please sign in to comment.