What changed, and why it matters
This commit fixes a simple spelling mistake in a method name: 'GetDiredivationSchemeSettings' was renamed to 'GetDerivationSchemeSettings' in two controller files and the model file that defines it. All call sites were updated consistently, so the code's behavior is unchanged. There is no security issue here.
No security action needed. Treat as a routine code-quality fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch is a pure rename refactor correcting a typo in the method name GetDerivationSchemeSettings. The method definition in MultisigSetupData.cs and its two invocations in UIMultisigWalletsController.cs are updated. No logic, parameters, return types, or access controls changed. The build would have failed before the fix if any call site used the correct spelling, but since all existing references used the same misspelled name, this is a non-functional cleanup.
Changed components
BTCPayServer/Plugins/Multisig/Controllers/UIMultisigWalletsController.csBTCPayServer/Plugins/Multisig/Models/MultisigSetupData.csInspect captured patch +3 / −3
### BTCPayServer/Plugins/Multisig/Controllers/UIMultisigWalletsController.cs
@@ -197,7 +197,7 @@ private async Task<IActionResult> ConfirmMultisigSetup(MultisigSetupViewModel vm
return View("MultisigConfirm", vm);
}
- var strategy = pending.GetDiredivationSchemeSettings(network);
+ var strategy = pending.GetDerivationSchemeSettings(network);
var wallet = walletProvider.GetWallet(network);
if (wallet is null)
{
@@ -239,7 +239,7 @@ private async Task<IActionResult> FinalizeMultisigRequest(MultisigSetupData pend
return RedirectToMultisigSetup(pending.RequestId);
}
- var strategy = pending.GetDiredivationSchemeSettings(network);
+ var strategy = pending.GetDerivationSchemeSettings(network);
var vm = new MultisigSetupViewModel
{
MultisigRequestId = pending.RequestId,
### BTCPayServer/Plugins/Multisig/Models/MultisigSetupData.cs
@@ -28,7 +28,7 @@ public bool IsPendingParticipant(string userId)
=> !string.IsNullOrEmpty(userId) &&
Participants.Any(p => string.Equals(p.UserId, userId, StringComparison.Ordinal));
- public DerivationSchemeSettings GetDiredivationSchemeSettings(BTCPayNetwork network)
+ public DerivationSchemeSettings GetDerivationSchemeSettings(BTCPayNetwork network)
{
var suffix = ScriptType.ToLowerInvariant() switch
{Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.