fix: lint fix 1

This commit is contained in:
Pravdyvy 2026-01-13 13:00:48 +02:00
parent c70c08abf3
commit dfd28b423b
2 changed files with 6 additions and 18 deletions

View File

@ -134,9 +134,7 @@ impl WalletSubcommand for AuthTransferSubcommand {
)?;
}
let path = wallet_core.store_persistent_data().await?;
println!("Stored persistent accounts at {path:#?}");
wallet_core.store_persistent_data().await?;
Ok(SubcommandReturnValue::PrivacyPreservingTransfer { tx_hash })
} else {
@ -155,9 +153,7 @@ impl WalletSubcommand for AuthTransferSubcommand {
println!("Transaction data is {transfer_tx:?}");
let path = wallet_core.store_persistent_data().await?;
println!("Stored persistent accounts at {path:#?}");
wallet_core.store_persistent_data().await?;
Ok(SubcommandReturnValue::Empty)
}

View File

@ -135,9 +135,7 @@ impl WalletSubcommand for TokenProgramAgnosticSubcommand {
)?;
}
let path = wallet_core.store_persistent_data().await?;
println!("Stored persistent accounts at {path:#?}");
wallet_core.store_persistent_data().await?;
Ok(SubcommandReturnValue::PrivacyPreservingTransfer { tx_hash })
} else {
@ -191,9 +189,7 @@ impl WalletSubcommand for TokenProgramAgnosticSubcommand {
)?;
}
let path = wallet_core.store_persistent_data().await?;
println!("Stored persistent accounts at {path:#?}");
wallet_core.store_persistent_data().await?;
Ok(SubcommandReturnValue::PrivacyPreservingTransfer { tx_hash })
} else {
@ -240,9 +236,7 @@ impl WalletSubcommand for TokenProgramAgnosticSubcommand {
)?;
}
let path = wallet_core.store_persistent_data().await?;
println!("Stored persistent accounts at {path:#?}");
wallet_core.store_persistent_data().await?;
Ok(SubcommandReturnValue::PrivacyPreservingTransfer { tx_hash })
} else {
@ -292,9 +286,7 @@ impl WalletSubcommand for TokenProgramAgnosticSubcommand {
)?;
}
let path = wallet_core.store_persistent_data().await?;
println!("Stored persistent accounts at {path:#?}");
wallet_core.store_persistent_data().await?;
Ok(SubcommandReturnValue::PrivacyPreservingTransfer { tx_hash })
} else {