Skip to content

Commit

Permalink
Fix doc links and misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Dec 2, 2022
1 parent c20f0e9 commit 75ada07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zebra-chain/src/transaction/unmined.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ pub struct VerifiedUnminedTx {

/// The number of unpaid actions `transaction`, as defined by [ZIP-317] for block production.
///
/// The number of actions is limited by [`MAX_BLOCK_BYTES`], so it fits in a u32.
/// The number of actions is limited by MAX_BLOCK_BYTES, so it will fit in a u32.
///
/// [ZIP-317]: https://zips.z.cash/zip-0317#block-production
pub unpaid_actions: u32,
Expand Down
2 changes: 1 addition & 1 deletion zebra-chain/src/transaction/unmined/zip317.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn conventional_fee_weight_ratio(
// the minimum transparent output size, but future transaction versions could change this.
assert!(
MIN_BLOCK_PRODUCTION_SUBSTITUTE_FEE as f32 / MAX_BLOCK_BYTES as f32 > 0.0,
"invalid block production constants: the minumum fee ratio must not be zero"
"invalid block production constants: the minimum fee ratio must not be zero"
);

let miner_fee = max(miner_fee.into(), MIN_BLOCK_PRODUCTION_SUBSTITUTE_FEE) as f32;
Expand Down

0 comments on commit 75ada07

Please sign in to comment.