| 1178 | } |
| 1179 | |
| 1180 | CPubKey LegacyScriptPubKeyMan::GenerateNewSeed() |
| 1181 | { |
| 1182 | assert(!m_storage.IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS)); |
| 1183 | CKey key; |
| 1184 | key.MakeNewKey(true); |
| 1185 | return DeriveNewSeed(key); |
| 1186 | } |
| 1187 | |
| 1188 | CPubKey LegacyScriptPubKeyMan::DeriveNewSeed(const CKey& key) |
| 1189 | { |
no test coverage detected