Yep. I recommend skullman's video on it if you want a full explanation. But TL;DR both the USSR and America were fully aware of Japan's repeated attempts to start surrender negotiations. The USSR instead entered the war against Japan so it could benefit from the victory, the USA didn't like that so they dropped nukes in order to be the 'reaaaal' winner, which had practically zero effect on the leadership's stance.
Yep. I recommend skullman's video on it if you want a full explanation. But TL;DR both the USSR and America were fully aware of Japan's repeated attempts to start surrender negotiations. The USSR instead entered the war against Japan so it could benefit from the victory, the USA didn't like that so they dropped nukes in order to be the 'reaaaal' winner, which had practically zero effect on the leadership's stance.