Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy committed Feb 22, 2024
1 parent 38fc356 commit 4ecb726
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/cast/bin/cmd/wallet/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl ListArgs {
match $signers.await {
Ok(signers) => {
self.list_senders(
signers.unwrap_or_default(),
&signers.unwrap_or_default(),
self.max_senders.unwrap(),
$label,
)
Expand Down Expand Up @@ -114,10 +114,10 @@ impl ListArgs {

async fn list_senders(
&self,
signers: Vec<WalletSigner>,
signers: &[WalletSigner],
max_senders: usize,
label: &str,
) -> eyre::Result<()> {
) -> Result<()> {
for signer in signers.iter() {
signer
.available_senders(max_senders)
Expand Down

0 comments on commit 4ecb726

Please sign in to comment.