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:
parent
403fa6eff3
commit
1973d76427
@ -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 the per-node secret already opens it, nothing to rotate — just unlock.
|
||||||
if let Some(secret) = read_wallet_password().await {
|
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);
|
return Ok(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user