diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-09-02 18:19:01 +0200 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-09-27 09:25:15 +0200 |
commit | 4731cab8fbff51a8178c85d572e2482040278616 (patch) | |
tree | 09ba06a320b4876f9318a5b9ff086e5cae9c48fe /src/test/net_tests.cpp | |
parent | 2f71490d21796594ca6f55e375558944de9db5a0 (diff) |
Do not shadow variables
Diffstat (limited to 'src/test/net_tests.cpp')
-rw-r--r-- | src/test/net_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp index 680708533e..4a7d6e778f 100644 --- a/src/test/net_tests.cpp +++ b/src/test/net_tests.cpp @@ -62,11 +62,11 @@ public: } }; -CDataStream AddrmanToStream(CAddrManSerializationMock& addrman) +CDataStream AddrmanToStream(CAddrManSerializationMock& _addrman) { CDataStream ssPeersIn(SER_DISK, CLIENT_VERSION); ssPeersIn << FLATDATA(Params().MessageStart()); - ssPeersIn << addrman; + ssPeersIn << _addrman; std::string str = ssPeersIn.str(); vector<unsigned char> vchData(str.begin(), str.end()); return CDataStream(vchData, SER_DISK, CLIENT_VERSION); |