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

@@ -5,6 +5,6 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.9" Condition="'$(TargetFramework)' == 'netcoreapp2.1'" /> <PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.9" Condition="'$(TargetFramework)' == 'netcoreapp2.1'" />
<FrameworkReference Include="Microsoft.AspNetCore.App" Condition="'$(TargetFramework)' != 'netcoreapp2.1'" /> <FrameworkReference Include="Microsoft.AspNetCore.App" Condition="'$(TargetFramework)' != 'netcoreapp2.1'" />
<PackageReference Include="NBXplorer.Client" Version="2.0.0.24" /> <PackageReference Include="NBXplorer.Client" Version="2.0.0.26" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -76,7 +76,7 @@ services:
- customer_lnd - customer_lnd
- merchant_lnd - merchant_lnd
nbxplorer: nbxplorer:
image: nicolasdorier/nbxplorer:2.0.0.63 image: nicolasdorier/nbxplorer:2.0.0.66
restart: unless-stopped restart: unless-stopped
ports: ports:
- "32838:32838" - "32838:32838"

View File

@@ -213,13 +213,12 @@ namespace BTCPayServer
{ {
foreach (var accountKey in AccountKeySettings) 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() yield return new NBXplorer.Models.PSBTRebaseKeyRules()
{ {
AccountKey = accountKey.AccountKey, AccountKey = accountKey.AccountKey,
AccountKeyPath = accountKey.AccountKeyPath, AccountKeyPath = rootedKeyPath
MasterFingerprint = fp
}; };
} }
} }
@@ -250,7 +249,7 @@ namespace BTCPayServer
{ {
foreach (var rebase in GetPSBTRebaseKeyRules()) foreach (var rebase in GetPSBTRebaseKeyRules())
{ {
psbt.RebaseKeyPaths(rebase.AccountKey, rebase.GetRootedKeyPath()); psbt.RebaseKeyPaths(rebase.AccountKey, rebase.AccountKeyPath);
} }
} }
} }