aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-10-27 20:24:31 -0400
committerCory Fields <cory-nospam-@coryfields.com>2015-02-25 18:44:49 -0500
commiteec37136fd0f6ab80772380d8f047d98743f31f5 (patch)
treef2e22ac82464d1d37ec312c1b76ab98cb8a29525 /src/net.h
parent8b298ca7d7540acc19d1df79a5c2af7b5aca8cbe (diff)
make CMessageHeader a dumb storage class
It shouldn't know or care about bitcoind's chain param selection
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 b78665b5c6..0a9fbb38c0 100644
--- a/src/net.h
+++ b/src/net.h
@@ -183,7 +183,7 @@ public:
int64_t nTime; // time (in microseconds) of message receipt.
- CNetMessage(int nTypeIn, int nVersionIn) : hdrbuf(nTypeIn, nVersionIn), vRecv(nTypeIn, nVersionIn) {
+ CNetMessage(const CMessageHeader::MessageStartChars& pchMessageStartIn, int nTypeIn, int nVersionIn) : hdrbuf(nTypeIn, nVersionIn), hdr(pchMessageStartIn), vRecv(nTypeIn, nVersionIn) {
hdrbuf.resize(24);
in_data = false;
nHdrPos = 0;