Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rex4539 authored Feb 27, 2018
1 parent f9dbd1e commit 3377426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/rpc_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ BOOST_AUTO_TEST_CASE(rpc_ban)
BOOST_CHECK(banned_until.get_int64() > now);
BOOST_CHECK(banned_until.get_int64()-now <= 200);

// must throw an exception because 127.0.0.1 is in already banned suubnet range
// must throw an exception because 127.0.0.1 is in already banned subnet range
BOOST_CHECK_THROW(r = CallRPC(string("setban 127.0.0.1 add")), runtime_error);

BOOST_CHECK_NO_THROW(CallRPC(string("setban 127.0.0.0/24 remove")));;
Expand Down

0 comments on commit 3377426

Please sign in to comment.