Skip to content

Commit

Permalink
clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Jun 19, 2024
1 parent a13f3f0 commit e22dfca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ pub struct WalletGrpcServer {
}

impl WalletGrpcServer {
#[allow(dead_code)]
pub fn new(wallet: WalletSqlite) -> Result<Self, ConsensusBuilderError> {
let rules = ConsensusManager::builder(wallet.network.as_network()).build()?;
Ok(Self { wallet, rules })
Expand Down
1 change: 1 addition & 0 deletions base_layer/tari_mining_helper_ffi/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ pub enum InterfaceError {
/// This struct is meant to hold an error for use by Miningcore. The error has an integer code and string
/// message
#[derive(Debug, Clone)]
#[allow(dead_code)]
pub struct MiningHelperError {
pub code: i32,
pub message: String,
Expand Down

0 comments on commit e22dfca

Please sign in to comment.