Did I commit a climbing sin?

Hello! New climber here. Today I sent my very first route. Actually two of them (top-line), and my first boulder all in the same session.

Anyway, when I was on one of the routes I used my full forearm to secure myself to a hold. These were really fat jugs (I think) but as someone who is new and quite weak it was hard for me to grab with my hand. I basically just hugged the hold with one arm more or less while I figured out my next move.

Is this terrible? Did I cheat? Does my send not count? Not sure if you're only allowed to use hands or something.