File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -247,14 +247,14 @@ BOOST_AUTO_TEST_CASE(rpc_ban)
247247 ar = r.get_array ();
248248 BOOST_CHECK_EQUAL (ar.size (), 0U );
249249
250- BOOST_CHECK_NO_THROW (r = CallRPC (std::string (" setban 127.0.0.0/24 add 1607731200 true" )));
250+ BOOST_CHECK_NO_THROW (r = CallRPC (std::string (" setban 127.0.0.0/24 add 9907731200 true" )));
251251 BOOST_CHECK_NO_THROW (r = CallRPC (std::string (" listbanned" )));
252252 ar = r.get_array ();
253253 o1 = ar[0 ].get_obj ();
254254 adr = find_value (o1, " address" );
255255 UniValue banned_until = find_value (o1, " banned_until" );
256256 BOOST_CHECK_EQUAL (adr.get_str (), " 127.0.0.0/24" );
257- BOOST_CHECK_EQUAL (banned_until.get_int64 (), 1607731200 ); // absolute time check
257+ BOOST_CHECK_EQUAL (banned_until.get_int64 (), 9907731200 ); // absolute time check
258258
259259 BOOST_CHECK_NO_THROW (CallRPC (std::string (" clearbanned" )));
260260
You can’t perform that action at this time.
0 commit comments