comments: fix typos (#34402)

fix miscellaneous typos

Co-authored-by: norwnd <norwnd>
This commit is contained in:
norwnd 2023-12-11 18:24:34 +00:00 committed by GitHub
parent bbeca163b2
commit 2e34bfc248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -2430,7 +2430,7 @@ mod tests {
write_keypair_file(&default_keypair, &default_keypair_file).unwrap();
let default_signer = DefaultSigner::new("", &default_keypair_file);
//Test Transfer Subcommand, SOL
// Test Transfer Subcommand, SOL
let from_keypair = keypair_from_seed(&[0u8; 32]).unwrap();
let from_pubkey = from_keypair.pubkey();
let from_string = from_pubkey.to_string();

View File

@ -17,7 +17,7 @@ pub const DEPLOYMENT_COOLDOWN_IN_SLOTS: u64 = 750;
#[repr(u64)]
#[derive(Debug, PartialEq, Eq, Clone, Copy, AbiExample)]
pub enum LoaderV4Status {
/// Program is in maintanance
/// Program is in maintenance
Retracted,
/// Program is ready to be executed
Deployed,

View File

@ -81,7 +81,7 @@ pub trait Signer {
}
/// Fallibly produces an Ed25519 signature over the provided `message` bytes.
fn try_sign_message(&self, message: &[u8]) -> Result<Signature, SignerError>;
/// Whether the impelmentation requires user interaction to sign
/// Whether the implementation requires user interaction to sign
fn is_interactive(&self) -> bool;
}
@ -94,6 +94,7 @@ where
}
}
/// This impl allows using Signer with types like Box/Rc/Arc.
impl<Container: Deref<Target = impl Signer>> Signer for Container {
#[inline]
fn pubkey(&self) -> Pubkey {