| 170 | } |
| 171 | |
| 172 | uint32_t static GetHashType(const valtype &vchSig) { |
| 173 | if (vchSig.size() == 0) |
| 174 | return 0; |
| 175 | // check IsValidSignatureEncoding()'s comment for vchSig format |
| 176 | return vchSig.back(); |
| 177 | } |
| 178 | |
| 179 | bool static IsLowDERSignature(const valtype &vchSig, ScriptError* serror) { |
| 180 | if (!IsValidSignatureEncoding(vchSig)) { |
no test coverage detected