mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 06:47:50 +01:00
seed not xpriv
This commit is contained in:
parent
52770ec758
commit
df9d6b9a40
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ public class BtcPayAppController : Controller
|
|||
private async Task<string?> GetSeed(ExplorerClient client, DerivationSchemeSettings derivation)
|
||||
{
|
||||
return derivation.IsHotWallet &&
|
||||
await client.GetMetadataAsync<string>(derivation.AccountDerivation, WellknownMetadataKeys.MasterHDKey) is { } seed &&
|
||||
await client.GetMetadataAsync<string>(derivation.AccountDerivation, WellknownMetadataKeys.Mnemonic) is { } seed &&
|
||||
!string.IsNullOrEmpty(seed) ? seed : null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue