Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Sep 26, 2024
1 parent b21a341 commit 82a0067
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sdk/src/ed25519_instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use {
ed25519_dalek::{ed25519::signature::Signature, Signer, Verifier},
solana_feature_set::{ed25519_precompile_verify_strict, FeatureSet},
solana_instruction::Instruction,
solana_precompile_error::PrecompileError
solana_precompile_error::PrecompileError,
};

pub const PUBKEY_SERIALIZED_SIZE: usize = 32;
Expand Down
6 changes: 2 additions & 4 deletions sdk/src/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
#[deprecated(since = "2.1.0", note = "Use `solana-precompile-error` crate instead.")]
pub use solana_precompile_error::PrecompileError;
use {
lazy_static::lazy_static,
solana_feature_set::FeatureSet,
solana_program::instruction::CompiledInstruction,
solana_pubkey::Pubkey,
lazy_static::lazy_static, solana_feature_set::FeatureSet,
solana_program::instruction::CompiledInstruction, solana_pubkey::Pubkey,
};

/// All precompiled programs must implement the `Verify` function
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/secp256k1_instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ use {
serde_derive::{Deserialize, Serialize},
solana_feature_set::FeatureSet,
solana_instruction::Instruction,
solana_precompile_error::PrecompileError
solana_precompile_error::PrecompileError,
};

pub const HASHED_PUBKEY_SERIALIZED_SIZE: usize = 20;
Expand Down

0 comments on commit 82a0067

Please sign in to comment.