| 350 | } |
| 351 | |
| 352 | static bool ExtractPubKey(const CScript &dest, CPubKey& pubKeyOut) |
| 353 | { |
| 354 | std::vector<std::vector<unsigned char>> solutions; |
| 355 | return Solver(dest, solutions) == TxoutType::PUBKEY && |
| 356 | (pubKeyOut = CPubKey(solutions[0])).IsFullyValid(); |
| 357 | } |
| 358 | |
| 359 | bool LegacyDataSPKM::AddWatchOnlyInMem(const CScript &dest) |
| 360 | { |
no test coverage detected