aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 102d81579f..41f5323d91 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -18,6 +18,7 @@
#include <consensus/consensus.h>
#include <crypto/sha256.h>
#include <i2p.h>
+#include <key.h>
#include <logging.h>
#include <memusage.h>
#include <net_permissions.h>
@@ -938,13 +939,6 @@ public:
const V2MessageMap V2_MESSAGE_MAP;
-CKey GenerateRandomKey() noexcept
-{
- CKey key;
- key.MakeNewKey(/*fCompressed=*/true);
- return key;
-}
-
std::vector<uint8_t> GenerateRandomGarbage() noexcept
{
std::vector<uint8_t> ret;