| 382 | } |
| 383 | |
| 384 | bool LegacyDataSPKM::HaveKey(const CKeyID &address) const |
| 385 | { |
| 386 | LOCK(cs_KeyStore); |
| 387 | if (!m_storage.HasEncryptionKeys()) { |
| 388 | return FillableSigningProvider::HaveKey(address); |
| 389 | } |
| 390 | return mapCryptedKeys.contains(address); |
| 391 | } |
| 392 | |
| 393 | bool LegacyDataSPKM::GetKey(const CKeyID &address, CKey& keyOut) const |
| 394 | { |
no test coverage detected