mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Fix 11854
This commit is contained in:
parent
97f1661853
commit
f4d6d370f0
@ -319,12 +319,12 @@ UniValue validateaddress(const JSONRPCRequest& request)
|
||||
}
|
||||
if (meta) {
|
||||
ret.push_back(Pair("timestamp", meta->nCreateTime));
|
||||
CHDChain hdChainCurrent;
|
||||
if (pwallet->mapHdPubKeys.count(*keyID) && pwallet->GetHDChain(hdChainCurrent)) {
|
||||
ret.push_back(Pair("hdkeypath", pwallet->mapHdPubKeys[*keyID].GetKeyPath()));
|
||||
ret.push_back(Pair("hdchainid", hdChainCurrent.GetID().GetHex()));
|
||||
}
|
||||
}
|
||||
|
||||
CHDChain hdChainCurrent;
|
||||
if (pwallet->mapHdPubKeys.count(*keyID) && pwallet->GetHDChain(hdChainCurrent)) {
|
||||
ret.push_back(Pair("hdkeypath", pwallet->mapHdPubKeys[*keyID].GetKeyPath()));
|
||||
ret.push_back(Pair("hdchainid", hdChainCurrent.GetID().GetHex()));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user