Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

chore: fix some typos #7626

Open
wants to merge 1 commit into
base: master
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
4 changes: 2 additions & 2 deletions slashing/program/src/duplicate_block_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl<'a> SlashingProofData<'a> for DuplicateBlockProofData<'a> {
fn verify_proof(self, slot: Slot, _node_pubkey: &Pubkey) -> Result<(), SlashingError> {
// TODO: verify through instruction inspection that the shreds were sigverified
// earlier in this transaction.
// Ed25519 Singature verification is performed on the merkle root:
// Ed25519 Signature verification is performed on the merkle root:
// node_pubkey.verify_strict(merkle_root, signature).
// We will verify that the pubkey merkle root and signature match the shred and
// that the verification was successful.
Expand Down Expand Up @@ -721,7 +721,7 @@ mod tests {

#[test]
fn test_retransmitter_signature_payload_proof_invalid() {
// TODO: change visbility of shred::layout::set_retransmitter_signature.
// TODO: change visibility of shred::layout::set_retransmitter_signature.
// Hardcode offsets for now;
const DATA_SHRED_OFFSET: usize = 1139;
const CODING_SHRED_OFFSET: usize = 1164;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ pub fn confidential_mint_with_split_proofs(
) -> Result<Vec<Instruction>, ProgramError> {
check_program_account(token_program_id)?;
let mut accounts = vec![AccountMeta::new(*token_account, false)];
// we only need write lock to adjust confidential suppy on
// we only need write lock to adjust confidential supply on
// mint if a value for supply_elgamal_pubkey has been set
if supply_elgamal_pubkey.is_some() {
accounts.push(AccountMeta::new(*mint, false));
Expand Down