Lloyd didn't win the bet
"I'll bet you twenty bucks I can get you gambling before the end of the day!"
The laugh was supposed to be about Lloyd winning the bet without realizing it. But, the thing is, the moment Harry shook his hand was just agreeing on the bet. Only from that moment on if he gambled/bet, Lloyd would win it.