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 @@ -221,14 +221,14 @@ BOOST_AUTO_TEST_CASE(rpc_ban)
221221 ar = r.get_array ();
222222 BOOST_CHECK_EQUAL (ar.size (), 0 );
223223
224- BOOST_CHECK_NO_THROW (r = CallRPC (std::string (" setban 127.0.0.0/24 add 1607731200 true" )));
224+ BOOST_CHECK_NO_THROW (r = CallRPC (std::string (" setban 127.0.0.0/24 add 9907731200 true" )));
225225 BOOST_CHECK_NO_THROW (r = CallRPC (std::string (" listbanned" )));
226226 ar = r.get_array ();
227227 o1 = ar[0 ].get_obj ();
228228 adr = find_value (o1, " address" );
229229 UniValue banned_until = find_value (o1, " banned_until" );
230230 BOOST_CHECK_EQUAL (adr.get_str (), " 127.0.0.0/24" );
231- BOOST_CHECK_EQUAL (banned_until.get_int64 (), 1607731200 ); // absolute time check
231+ BOOST_CHECK_EQUAL (banned_until.get_int64 (), 9907731200 ); // absolute time check
232232
233233 BOOST_CHECK_NO_THROW (CallRPC (std::string (" clearbanned" )));
234234
You can’t perform that action at this time.
0 commit comments