I tried using ECDSA entry sample to sign transaction but sometimes get s value not accepted by go-ethereum crypto.ValidateSignatureValues check.
The problem seems s value is not meet EIP-2 specification which define s value should be in range (0 < s < secp256k1n / 2 + 1).
Except resigning, could you kindly provide some advise to avoid this wrong signed result from signing flow (or convert non-EIP-2 signature to a valid EIP-2 one)?
I tried using ECDSA entry sample to sign transaction but sometimes get s value not accepted by go-ethereum crypto.ValidateSignatureValues check. The problem seems s value is not meet EIP-2 specification which define s value should be in range (0 < s < secp256k1n / 2 + 1).
Except resigning, could you kindly provide some advise to avoid this wrong signed result from signing flow (or convert non-EIP-2 signature to a valid EIP-2 one)?