style: rustfmt lnd migrate_locked_wallet matches! call

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
archipelago 2026-06-14 14:41:40 -04:00
parent 403fa6eff3
commit 1973d76427

View File

@ -428,7 +428,10 @@ pub(crate) async fn migrate_locked_wallet(candidates: &[String]) -> Result<bool>
// If the per-node secret already opens it, nothing to rotate — just unlock.
if let Some(secret) = read_wallet_password().await {
if matches!(try_unlock_once(&client, &secret).await, UnlockAttempt::Unlocked) {
if matches!(
try_unlock_once(&client, &secret).await,
UnlockAttempt::Unlocked
) {
return Ok(true);
}
}