@@ -114,15 +114,6 @@ BOOST_AUTO_TEST_CASE(transaction_error_t__code__unexpected_witness_transaction__
114114 BOOST_REQUIRE_EQUAL (ec.message (), " unexpected witness transaction" );
115115}
116116
117- BOOST_AUTO_TEST_CASE (transaction_error_t__code__transaction_non_final__true_exected_message)
118- {
119- constexpr auto value = error::transaction_non_final;
120- const auto ec = code (value);
121- BOOST_REQUIRE (ec);
122- BOOST_REQUIRE (ec == value);
123- BOOST_REQUIRE_EQUAL (ec.message (), " transaction currently non-final" );
124- }
125-
126117BOOST_AUTO_TEST_CASE (transaction_error_t__code__premature_validation__true_exected_message)
127118{
128119 constexpr auto value = error::premature_validation;
@@ -186,13 +177,22 @@ BOOST_AUTO_TEST_CASE(transaction_error_t__code__transaction_sigop_limit__true_ex
186177 BOOST_REQUIRE_EQUAL (ec.message (), " too many transaction embedded signature operations" );
187178}
188179
180+ BOOST_AUTO_TEST_CASE (transaction_error_t__code__absolute_time_locked__true_exected_message)
181+ {
182+ constexpr auto value = error::absolute_time_locked;
183+ const auto ec = code (value);
184+ BOOST_REQUIRE (ec);
185+ BOOST_REQUIRE (ec == value);
186+ BOOST_REQUIRE_EQUAL (ec.message (), " transaction absolute time locked" );
187+ }
188+
189189BOOST_AUTO_TEST_CASE (transaction_error_t__code__relative_time_locked__true_exected_message)
190190{
191191 constexpr auto value = error::relative_time_locked;
192192 const auto ec = code (value);
193193 BOOST_REQUIRE (ec);
194194 BOOST_REQUIRE (ec == value);
195- BOOST_REQUIRE_EQUAL (ec.message (), " transaction currently locked" );
195+ BOOST_REQUIRE_EQUAL (ec.message (), " transaction relative time locked" );
196196}
197197
198198BOOST_AUTO_TEST_CASE (transaction_error_t__code__transaction_weight_limit__true_exected_message)
0 commit comments