File tree Expand file tree Collapse file tree
include/bitcoin/system/chain Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class BC_API outpoint
4040
4141 static constexpr size_t serialized_size () NOEXCEPT
4242 {
43- return point::serialized_size () + sizeof (uint32_t );
43+ return point::serialized_size () + sizeof (uint64_t );
4444 }
4545
4646 // / Constructors.
Original file line number Diff line number Diff line change @@ -178,8 +178,8 @@ BOOST_AUTO_TEST_CASE(outpoint__is_null__default_null__true)
178178
179179BOOST_AUTO_TEST_CASE (outpoint__serialized_size__always__expected)
180180{
181- static_assert (outpoint::serialized_size () == point::serialized_size () + sizeof (uint32_t ));
182- BOOST_REQUIRE_EQUAL (outpoint::serialized_size (), point::serialized_size () + sizeof (uint32_t ));
181+ static_assert (outpoint::serialized_size () == point::serialized_size () + sizeof (uint64_t ));
182+ BOOST_REQUIRE_EQUAL (outpoint::serialized_size (), point::serialized_size () + sizeof (uint64_t ));
183183}
184184
185185// json
You can’t perform that action at this time.
0 commit comments