A Bucks County real estate law firm has sued Bank of America for failing to cancel a wire transfer made to China after the firm’s account was infiltrated by hackers.

Warminster-based O’Neill Bragg & Staffin and its principals filed a lawsuit in federal court in Philadelphia against Bank of America, claiming the bank was responsible for the damage done after hackers used deceptive emails to dupe a member of the firm into transferring more than a half-million dollars to the Bank of China.