aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Bright <wbright@protonmail.com>2021-04-21 15:16:13 -0400
committerWilliam Bright <wbright@protonmail.com>2021-04-22 11:02:14 -0400
commit71c824ed6cf70b39ca09e8b3962f452f69523af0 (patch)
tree410306e71bdc60fc003ce266b9cea7d2d15edeea
parente16f8720dca2de1040478968c9f3ca07644a04b7 (diff)
downloadbitcoin-71c824ed6cf70b39ca09e8b3962f452f69523af0.tar.xz
cleaned up and added missing "include" statements for pubkey.cpp and pubkey.h
removed comments next to include statements. removed comments in include statements. changed assert.h to cassert based on pr comments
-rw-r--r--src/pubkey.cpp7
-rw-r--r--src/pubkey.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/pubkey.cpp b/src/pubkey.cpp
index fc1624af25..64a9def502 100644
--- a/src/pubkey.cpp
+++ b/src/pubkey.cpp
@@ -5,9 +5,16 @@
#include <pubkey.h>
+#include <hash.h>
#include <secp256k1.h>
+#include <secp256k1_extrakeys.h>
#include <secp256k1_recovery.h>
#include <secp256k1_schnorrsig.h>
+#include <span.h>
+#include <uint256.h>
+
+#include <algorithm>
+#include <cassert>
namespace
{
diff --git a/src/pubkey.h b/src/pubkey.h
index 12514fc3c9..7a1f97f173 100644
--- a/src/pubkey.h
+++ b/src/pubkey.h
@@ -12,7 +12,7 @@
#include <span.h>
#include <uint256.h>
-#include <stdexcept>
+#include <cstring>
#include <vector>
const unsigned int BIP32_EXTKEY_SIZE = 74;