Having H1 and B1; traveling on b1


I have both H1 and b1 visa

My employer asked me to travel on b1 for one month . Travel date 18 October

I have to come back in November 24 for my marriage

Again I have to travel on December 8 on H1 for same Project and same client , location

Will there be any problem if I travel with in gap of 20 days on H1

Please suggest and advise on what to do