Dicaprio shows Donnie a note saying he has a wire. Then the FBI agents show up with the note at his house. Did they find it somewhere? Donnie gives it to them as revenge? (probably not, that would incriminate himself)

It's hard to believe that such an intelligent man as Belfort would forget to destroy it.