mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-20 15:34:24 +01:00
fix bug if selecting segwit with vault
This commit is contained in:
@@ -241,7 +241,7 @@ namespace BTCPayServer.Controllers
|
|||||||
ScriptPubKeyType = ScriptPubKeyType.Segwit
|
ScriptPubKeyType = ScriptPubKeyType.Segwit
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (addressType == "segwitWrapped")
|
else if (addressType == "segwitWrapped")
|
||||||
{
|
{
|
||||||
keyPath = new KeyPath("49'").Derive(network.CoinType).Derive(accountNumber, true);
|
keyPath = new KeyPath("49'").Derive(network.CoinType).Derive(accountNumber, true);
|
||||||
xpub = await device.GetXPubAsync(keyPath);
|
xpub = await device.GetXPubAsync(keyPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user