Question: who warned hank about the twins?
Answer: Gus Fring tipped Hank off. Even though he did send the brothers to attack Hank in the first place, he warned Hank so that he would be aware of what's going on and proceed to kill them, thus wrapping up a loose end.