| 241 | } |
| 242 | |
| 243 | static unsigned int GetLen(unsigned char chHeader) |
| 244 | { |
| 245 | if (chHeader == 2 || chHeader == 3) |
| 246 | return CPubKey::COMPRESSED_SIZE; |
| 247 | if (chHeader == 4 || chHeader == 6 || chHeader == 7) |
| 248 | return CPubKey::SIZE; |
| 249 | return 0; |
| 250 | } |
| 251 | |
| 252 | static void CmpSerializationPubkey(const CPubKey& pubkey) |
| 253 | { |
no outgoing calls
no test coverage detected