Then, consider that, if Russia won both those wars, it wouldn't have meant that they didn't spend a lot of money on the military, which surely would have caused a revolution. However, if Germany never sent Lenin to Russia, the provisional government would have stayed in power, becoming the official one. So, there would have been a revolution, but:
1) Less bloody
2) WIthout communism
3) The tsar wouldn't have been killed by the bolsheviks
The provisional government, namely the Russian Republic, would have probably executed those bolsheviks who remained in Russia, such as Leon Trotsky and Viktor Nogin. The revolution, however, would have been late, since the nationalism caused by the winning of the two wars would surely have distracted the people for a couple years, but no more than that. And, if somehow they would have survived the first years after the way, the Great Depression would have been the last straw