Skip to content

Commit

Permalink
addrman: add missing <cmath> header
Browse files Browse the repository at this point in the history
  • Loading branch information
xanimo committed Jun 21, 2024
1 parent 134c579 commit 8d5ff67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/addrman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include "serialize.h"
#include "streams.h"

#include <cmath>

int CAddrInfo::GetTriedBucket(const uint256& nKey) const
{
uint64_t hash1 = (CHashWriter(SER_GETHASH, 0) << nKey << GetKey()).GetHash().GetCheapHash();
Expand Down

0 comments on commit 8d5ff67

Please sign in to comment.