mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
fix bug if selecting segwit with vault
This commit is contained in:
parent
ab7c124302
commit
a1d82b0e8b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user