diff options
| author | Jeff Garzik <[email protected]> | 2012-08-01 10:56:47 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-08-01 10:56:47 -0700 |
| commit | f81e6f779b66e235afd6c5241306d5e70ec41276 (patch) | |
| tree | 208e1d5fb7b77c41e67edb372e2590250c32faac /src/test/DoS_tests.cpp | |
| parent | Merge pull request #1636 from Diapolo/Warning_string (diff) | |
| parent | Bugfix: Correct English grammar regarding "'s" (diff) | |
| download | discoin-f81e6f779b66e235afd6c5241306d5e70ec41276.tar.xz discoin-f81e6f779b66e235afd6c5241306d5e70ec41276.zip | |
Merge pull request #1632 from luke-jr/spelling
Fix spelling and grammar errors
Diffstat (limited to 'src/test/DoS_tests.cpp')
| -rw-r--r-- | src/test/DoS_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/DoS_tests.cpp b/src/test/DoS_tests.cpp index 4a185b3cc..7f08dd554 100644 --- a/src/test/DoS_tests.cpp +++ b/src/test/DoS_tests.cpp @@ -37,7 +37,7 @@ BOOST_AUTO_TEST_CASE(DoS_banning) CNode dummyNode1(INVALID_SOCKET, addr1, "", true); dummyNode1.Misbehaving(100); // Should get banned BOOST_CHECK(CNode::IsBanned(addr1)); - BOOST_CHECK(!CNode::IsBanned(ip(0xa0b0c001|0x0000ff00))); // Different ip, not banned + BOOST_CHECK(!CNode::IsBanned(ip(0xa0b0c001|0x0000ff00))); // Different IP, not banned CAddress addr2(ip(0xa0b0c002)); CNode dummyNode2(INVALID_SOCKET, addr2, "", true); |