Remove last byte from signature hex. Possibly from when Signature had a hash-type, which is now not the case. The error occured only for secp256k1, so it appears the hash-type byte is regarded as a DER violation in libsecp256k1.
Remove last byte from signature hex. Possibly from when Signature had a hash-type, which is now not the case. The error occured only for secp256k1, so it appears the hash-type byte is regarded as a DER violation in libsecp256k1.

afk11/bitcoin-php,Bit-Wasp/bitcoin-php,afk11/bitcoin-php,Bit-Wasp/bitcoin-php