That being said, 4-LOM definitely got the worse end of the deal as Boba Fett beheaded the droid. However, he was attacked during his investigation due to Jabba placing a bounty on his head because of his failure to deliver Solo, and his attackers were none other than the dynamic duo of Zuckuss and 4-LOM, Both hunters were quickly defeated by Fett in humiliating fashion.
Previously in War of the Bounty Hunters, Boba Fett was dead set on discovering who stole his bounty from him (Han Solo encased in carbonite).