message: Import all origin info in importmulti; even for non-importing pubkeys
  Github-Pull:
  Rebased-From:
diff: @@ -1271,6 +1271,9 @@ static UniValue ProcessImport(CWallet * const pwallet, const UniValue& data, con
  }
  pwallet->UpdateTimeFirstKey(timestamp);
  }
  + for (const auto& entry : import_data.key_origins) {
  + pwallet->AddKeyOrigin(entry.second.first, entry.second.second);
  + }
  for (const CKeyID& id : ordered_pubkeys) {
  auto entry = pubkey_map.find(id);
  if (entry == pubkey_map.end()) {
  @@ -1281,10 +1284,6 @@ static UniValue ProcessImport(CWallet * const pwallet, const UniValue& data, con
  if (!pwallet->GetPubKey(id, temp) && !pwallet->AddWatchOnly(GetScriptForRawPubKey(pubkey), timestamp)) {
  throw JSONRPCError(RPC_WALLET_ERROR, "Error adding address to wallet");
  }
  - const auto& key_orig_it = import_data.key_origins.find(id);
  - if (key_orig_it != import_data.key_origins.end()) {
  - pwallet->AddKeyOrigin(pubkey, key_orig_it->second.second);
  - }
  pwallet->mapKeyMetadata[id].nCreateTime = timestamp;
  // Add to keypool only works with pubkeys
  