This commit is contained in:
nicolas.dorier
2019-11-16 17:22:51 +09:00
parent c83bcd259d
commit fe1df743ce
3 changed files with 5 additions and 6 deletions

View File

@@ -213,13 +213,12 @@ namespace BTCPayServer
{
foreach (var accountKey in AccountKeySettings)
{
if (accountKey.AccountKeyPath != null && accountKey.RootFingerprint is HDFingerprint fp)
if (accountKey.GetRootedKeyPath() is RootedKeyPath rootedKeyPath)
{
yield return new NBXplorer.Models.PSBTRebaseKeyRules()
{
AccountKey = accountKey.AccountKey,
AccountKeyPath = accountKey.AccountKeyPath,
MasterFingerprint = fp
AccountKeyPath = rootedKeyPath
};
}
}
@@ -250,7 +249,7 @@ namespace BTCPayServer
{
foreach (var rebase in GetPSBTRebaseKeyRules())
{
psbt.RebaseKeyPaths(rebase.AccountKey, rebase.GetRootedKeyPath());
psbt.RebaseKeyPaths(rebase.AccountKey, rebase.AccountKeyPath);
}
}
}