Skip to content

Commit 71c824e

Browse files
committed
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
1 parent e16f872 commit 71c824e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/pubkey.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,16 @@
55

66
#include <pubkey.h>
77

8+
#include <hash.h>
89
#include <secp256k1.h>
10+
#include <secp256k1_extrakeys.h>
911
#include <secp256k1_recovery.h>
1012
#include <secp256k1_schnorrsig.h>
13+
#include <span.h>
14+
#include <uint256.h>
15+
16+
#include <algorithm>
17+
#include <cassert>
1118

1219
namespace
1320
{

src/pubkey.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <span.h>
1313
#include <uint256.h>
1414

15-
#include <stdexcept>
15+
#include <cstring>
1616
#include <vector>
1717

1818
const unsigned int BIP32_EXTKEY_SIZE = 74;

0 commit comments

Comments
 (0)