This is to track the regression introduced in master, which needs fixing for 0.14. See #9240, #9371, etc.
{
    set<uint256> result;
    if (pwallet != NULL)
    {
        uint256 myHash = GetHash();
        result = pwallet->GetConflicts(myHash);
        result.erase(myHash);
    }
    return result;
}
CAmount CWalletTx::GetDebit(const isminefilter& filter) const