| 286 | } |
| 287 | |
| 288 | CKey CBitcoinSecret::GetKey() |
| 289 | { |
| 290 | CKey ret; |
| 291 | assert(vchData.size() >= 32); |
| 292 | ret.Set(vchData.begin(), vchData.begin() + 32, vchData.size() > 32 && vchData[32] == 1); |
| 293 | return ret; |
| 294 | } |
| 295 | |
| 296 | bool CBitcoinSecret::IsValid() const |
| 297 | { |
no test coverage detected