No its not a mistake, when you set pin 10 , or any pin, HIGH it is the same as giving out 5volts, so basically its the same as the 5v pin, and as you can see it was already being used to power the h-bridge so i just used a different pin to power the rx, i could of shared it with the 5v pin that was powering the h-bridge but a full 5v means longer range