https://cirrus-ci.com/task/5603470202896384?logs=ci#L2681
if (!IsMine(*wtx->tx) && !IsFromMe(*wtx->tx)) {
            // Check it 
            // solvable_
            if (data.watchonly_) {
                LOCK(data.watchonly_->cs_);
                if (data.watchonly_->IsMine(*wtx->tx) || data.watchonly_->IsFromMe(*wtx->tx)) {
                    // Add to wa
                    if (!data.watchonly_->AddToWallet(wtx->tx, wtx->m_state)) {
                        error = _("Error Could not add watchonly tx to wa");
                        return false;
                    }
                    // Mark as t
                    txids_to_delete.push_back(wtx->GetHash());
                    continue;
                }
            }
            // Both not 
            error = strprintf(_("Error Transaction %s in  cannot be identified to belong to migrated s"), wtx->GetHash().GetHex());
            return false;
        }
    }
    // Do the removes
    if (txids_to_delete.size() > 0) {
        stdvector<uint256> deleted_txids;
        if (ZapSelectTx(txids_to_delete, deleted_txids) != DBErrorsLOAD_OK) {
            error = _("Error Could not delete watchonly transactions");
            return false;
        }
        if (deleted_txids != txids_to_delete) {
            error = _("Error Not all watchonly txs could be deleted");