Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Apr 23, 2024
1 parent 4d39b3e commit 2706e61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ mod crypto_test;

use std::fmt;
use std::fmt::LowerHex;

use serde::{Deserialize, Serialize};
use starknet_types_core::felt::Felt;
use starknet_types_core::hash::{Pedersen, Poseidon, StarkHash as CoreStarkHash};
Expand Down Expand Up @@ -35,10 +36,9 @@ pub enum CryptoError {
pub struct PublicKey(pub Felt);

impl LowerHex for PublicKey {
fn fmt(&self, f: &mut fmt::Formatter<'_>) ->
fmt::Result {
fmt::Display::fmt(&self.0, f)
}
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
fmt::Display::fmt(&self.0, f)
}
}

/// A signature.
Expand Down

0 comments on commit 2706e61

Please sign in to comment.