File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -86,12 +86,6 @@ inline bytes encode(const std::vector<T>& v)
8686 return internal::encode_container (v.begin (), v.end ());
8787}
8888
89- template <typename T, size_t N>
90- inline bytes encode (const T (&v)[N])
91- {
92- return internal::encode_container (std::begin (v), std::end (v));
93- }
94-
9589// / Encodes the fixed-size collection of heterogeneous values as RLP list.
9690template <typename ... Types>
9791inline bytes encode_tuple (const Types&... elements)
Original file line number Diff line number Diff line change @@ -65,12 +65,6 @@ TEST(state_rlp, encode_string_long)
6565 EXPECT_EQ (hex ({r4.data (), 10 }), " baffffff000000000000" );
6666}
6767
68- TEST (state_rlp, encode_c_array)
69- {
70- const uint64_t a[]{1 , 2 , 3 };
71- EXPECT_EQ (hex (rlp::encode (a)), " c3010203" );
72- }
73-
7468TEST (state_rlp, encode_vector)
7569{
7670 const auto x = 0xe1e2e3e4e5e6e7d0d1d2d3d4d5d6d7c0c1c2c3c4c5c6c7b0b1b2b3b4b5b6b7_u256;
You can’t perform that action at this time.
0 commit comments