Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #2538

Open
wants to merge 1 commit into
base: mainnet-staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ledger/puzzle/src/partial_solution/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl<N: Network> FromBytes for PartialSolution<N> {
}

impl<N: Network> ToBytes for PartialSolution<N> {
/// Writes the parital solution to the buffer.
/// Writes the partial solution to the buffer.
fn write_le<W: Write>(&self, mut writer: W) -> IoResult<()> {
self.epoch_hash.write_le(&mut writer)?;
self.address.write_le(&mut writer)?;
Expand Down
2 changes: 1 addition & 1 deletion synthesizer/process/src/tests/test_credits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ fn test_bond_validator_fails_if_unbonding_state() {
);
assert!(rebonding_result.is_err());

// Ensure the error wasn't due to insufficent balance
// Ensure the error wasn't due to insufficient balance
let validator_balance = account_balance(&store, validator_address).unwrap();
assert!(validator_balance > MIN_VALIDATOR_STAKE);

Expand Down
2 changes: 1 addition & 1 deletion synthesizer/process/src/verify_fee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ impl<N: Network> Process<N> {
}
lap!(timer, "Verify the inputs");

// Ensure there are is one output.
// Ensure there is one output.
ensure!(
fee.outputs().len() == 1,
"The number of outputs in the fee transition should be 1, found {}",
Expand Down