remove useless cast in BitcoinStream