Skip to content

Commit

Permalink
fix clippy?
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik committed Feb 7, 2022
1 parent 8f11e3f commit 53bc289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitives/test-utils/src/keyring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub struct Account(pub u16);

impl Account {
pub fn public(&self) -> PublicKey {
(&self.secret()).into()
self.secret().into()
}

pub fn secret(&self) -> SecretKey {
Expand Down

0 comments on commit 53bc289

Please sign in to comment.