aboutsummaryrefslogtreecommitdiff
path: root/src/test/addrman_tests.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-05-17 14:50:15 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-09-18 14:27:05 +0900
commitbf2e010973e94c8ca2800c434cceb8bdb767f71c (patch)
treeec3824a1def9d498e7226a7ed393ba240ccabaf0 /src/test/addrman_tests.cpp
parentcb25cd6aa18c69918176d68e36e26f7e373aa48c (diff)
uint256: Remove unnecessary crypto/common.h use
Diffstat (limited to 'src/test/addrman_tests.cpp')
-rw-r--r--src/test/addrman_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/addrman_tests.cpp b/src/test/addrman_tests.cpp
index f57d0c6d79..42ac345b4a 100644
--- a/src/test/addrman_tests.cpp
+++ b/src/test/addrman_tests.cpp
@@ -34,7 +34,7 @@ public:
int RandomInt(int nMax) override
{
- state = (CHashWriter(SER_GETHASH, 0) << state).GetHash().GetCheapHash();
+ state = (CHashWriter(SER_GETHASH, 0) << state).GetCheapHash();
return (unsigned int)(state % nMax);
}