c++ libsecp256k1 multiplying a point by a scalar
need help writing code.
Actually, the code below adds two points on an elliptic curve and multiplies the point by a scalar. I use the library secp256k1bitcoin-core/secp256k1 It adds correctly, but the multiplication does not.
I can’t figure out what the reason is.