aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-05-09 09:16:29 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-05-09 09:10:53 -0400
commitfa1dce7329d3e74d46ab98b93772b1832a3f1819 (patch)
treeb04ef80afae5d50a27873e3829865d20fc4f085a /src/net.h
parentc459c5f70176928adcee4935813a2dbe7f4dbd51 (diff)
downloadbitcoin-fa1dce7329d3e74d46ab98b93772b1832a3f1819.tar.xz
net: Rename ::fRelayTxes to ::g_relay_txes
This helps to distinguish it from CNode::fRelayTxes and avoid bugs like 425278d17bd0edf8a3a7cc81e55016f7fd8e7726
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 7af33ef13b..37aaf1a63b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -519,7 +519,7 @@ CAddress GetLocalAddress(const CNetAddr *paddrPeer, ServiceFlags nLocalServices)
extern bool fDiscover;
extern bool fListen;
-extern bool fRelayTxes;
+extern bool g_relay_txes;
/** Subversion as sent to the P2P network in `version` messages */
extern std::string strSubVersion;