https://cirrus-ci.com/task/5603470202896384?logs=ci#L2681
}
    // Add the private keys to the 
    for (const auto& entry  signing_provider.keys) {
        const CKey& key = entry.second;
        spk_man->AddDescriptorKey(key, key.GetPubKey());
    }
    // Top up key pool, the manager will generate new scriptPubKeys internally
    if (!spk_man->TopUp()) {
        WalletLogPrintf("Could not top up scriptPubKeys\n");
        return nullptr;
    }
    // Apply the label if necessary
    // Note we disable labels for ranged s
    if (!desc.->IsRange()) {
        auto script_pub_keys = spk_man->GetScriptPubKeys();
        if (script_pub_keys.empty()) {
            WalletLogPrintf("Could not generate scriptPubKeys (cache is empty)\n");
            return nullptr;
        }
        if (!internal) {
            for (const auto& script  script_pub_keys) {
                CTxDestination dest;
                if (ExtractDestination(script, dest)) {
                    SetAddressBook(dest, label, "receive");
                }
            }
        }
    }
    // Save the  to DB
    spk_man->WriteDescriptor();