function cancelBetByB(uint betid)
        private
    {
        
        bets[betid].playerAddressB = address(0x0);
        bets[betid].betState = BET_STATE_WAITPAIR;
        
        uint betpriceid = getBetPriceID(bets[betid].betPrice);
        waitPairBetIDs[betpriceid] = betid;

        
        sendCancelValue(bets[betid].playerAddressB ,betid,false);
    }