diff --git a/BTCPayServer/Controllers/VaultController.cs b/BTCPayServer/Controllers/VaultController.cs index fd3ec0839..27e455752 100644 --- a/BTCPayServer/Controllers/VaultController.cs +++ b/BTCPayServer/Controllers/VaultController.cs @@ -241,7 +241,7 @@ namespace BTCPayServer.Controllers ScriptPubKeyType = ScriptPubKeyType.Segwit }); } - if (addressType == "segwitWrapped") + else if (addressType == "segwitWrapped") { keyPath = new KeyPath("49'").Derive(network.CoinType).Derive(accountNumber, true); xpub = await device.GetXPubAsync(keyPath);