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)
247
247
ar = r.get_array ();
248
248
BOOST_CHECK_EQUAL (ar.size (), 0U );
249
249
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" )));
251
251
BOOST_CHECK_NO_THROW (r = CallRPC (std::string (" listbanned" )));
252
252
ar = r.get_array ();
253
253
o1 = ar[0 ].get_obj ();
254
254
adr = find_value (o1, " address" );
255
255
UniValue banned_until = find_value (o1, " banned_until" );
256
256
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
258
258
259
259
BOOST_CHECK_NO_THROW (CallRPC (std::string (" clearbanned" )));
260
260
You can’t perform that action at this time.
0 commit comments