You can usually keep yourself out of this kind of trouble by remembering that the ground wire is to the outside of the rcvr. So, if the esc lead has a black wire, it goes to the outside. The other common ground color is brown.
Glad it was simple to fix.