aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-27 15:46:47 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-27 15:46:47 +0100
commit06aea2cf0a5a86a98fc33516f255373fb7c64c19 (patch)
treeb4b348dea3c722d41a7511fe1290542daf2fada3 /src/p2p/net_node.inl
parentMerge pull request #2159 (diff)
downloadmonero-06aea2cf0a5a86a98fc33516f255373fb7c64c19.tar.xz
move get_proof_of_trust_hash from util.h to p2p_protocol_defs.h
This avoids having to include p2p_protocol_defs.h in util.h, as util.h is used a lot, and p2p_protocol_defs.h includes a lot of other things that most users don't need.
Diffstat (limited to '')
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index b23090c7d..19120c892 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -1382,7 +1382,7 @@ namespace nodetool
}
crypto::public_key pk = AUTO_VAL_INIT(pk);
epee::string_tools::hex_to_pod(::config::P2P_REMOTE_DEBUG_TRUSTED_PUB_KEY, pk);
- crypto::hash h = tools::get_proof_of_trust_hash(tr);
+ crypto::hash h = get_proof_of_trust_hash(tr);
if(!crypto::check_signature(h, pk, tr.sign))
{
LOG_ERROR("check_trust failed: sign check failed");