[bitcoin/bitcoin] PSBT key path cleanups (#13723)

Empact commented on this pull request.

> — return false;
— }
— uint32_t number;
— if (!ParseUInt32(item, &number)) {
— return false;
— }
— path |= number;

— keypath.push_back(path);
— first = false;
— }
— return true;
-}

-void AddKeypathToMap(const CWallet* pwallet, const CKeyID& keyID, std::map>& hd_keypaths)
+void AddKeypathToMap(const CWallet* pwallet, const CKeyID& keyID, std::map& hd_keypaths)

Looks like this is no longer called.