Skip to content

Commit

Permalink
Fix warnings in pcli
Browse files Browse the repository at this point in the history
I don't quite know when this regression was introduced, but it's related
to unused variables and imports.
  • Loading branch information
cronokirby authored and hdevalence committed Jan 5, 2024
1 parent d471aa3 commit 2982948
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/bin/pcli/src/command/ceremony.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use penumbra_proto::{
view::v1alpha1::GasPricesRequest,
};
use penumbra_transaction::memo::MemoPlaintext;
use penumbra_view::{Planner, ViewClient};
use penumbra_view::Planner;

use crate::App;

Expand Down
2 changes: 1 addition & 1 deletion crates/bin/pcli/src/command/view/balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl BalanceCmd {
false
}

pub async fn exec<V: ViewClient>(&self, fvk: &FullViewingKey, view: &mut V) -> Result<()> {
pub async fn exec<V: ViewClient>(&self, _fvk: &FullViewingKey, view: &mut V) -> Result<()> {
let asset_cache = view.assets().await?;

// Initialize the table
Expand Down
2 changes: 1 addition & 1 deletion crates/bin/pcli/src/command/view/staked.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl StakedCmd {

pub async fn exec(
&self,
full_viewing_key: &FullViewingKey,
_fvk: &FullViewingKey,
view_client: &mut impl ViewClient,
pd_channel: Channel,
) -> Result<()> {
Expand Down

0 comments on commit 2982948

Please sign in to comment.