mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-25 08:21:24 +02:00
Merge #15625: refactor: Remove unused function
bb6195e34 refactor: Remove unused function (practicalswift) Pull request description: Last use removed in cad5dd2368109ec398a3b79c8b9e94dfd23f0845. Tree-SHA512: f65bf8f77b9aadbfba39bd80076a4d773eddf685a8a90ef2db549552a3d0ccd426ce3920b2f71954703f64d840fa88349957996d1f64a9c4d3f27a99b4da70e7
This commit is contained in:
commit
717fd58c4b
@ -3881,19 +3881,6 @@ UniValue sethdseed(const JSONRPCRequest& request)
|
|||||||
return NullUniValue;
|
return NullUniValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AddKeypathToMap(const CWallet* pwallet, const CKeyID& keyID, std::map<CPubKey, KeyOriginInfo>& hd_keypaths)
|
|
||||||
{
|
|
||||||
CPubKey vchPubKey;
|
|
||||||
if (!pwallet->GetPubKey(keyID, vchPubKey)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
KeyOriginInfo info;
|
|
||||||
if (!pwallet->GetKeyOrigin(keyID, info)) {
|
|
||||||
throw JSONRPCError(RPC_INTERNAL_ERROR, "Internal keypath is broken");
|
|
||||||
}
|
|
||||||
hd_keypaths.emplace(vchPubKey, std::move(info));
|
|
||||||
}
|
|
||||||
|
|
||||||
UniValue walletprocesspsbt(const JSONRPCRequest& request)
|
UniValue walletprocesspsbt(const JSONRPCRequest& request)
|
||||||
{
|
{
|
||||||
std::shared_ptr<CWallet> const wallet = GetWalletForJSONRPCRequest(request);
|
std::shared_ptr<CWallet> const wallet = GetWalletForJSONRPCRequest(request);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user