Skip to content

Commit 990e239

Browse files
fix: use MakeUcharSpan
1 parent ee42c15 commit 990e239

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/bls_tests.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5+
#include "span.h"
56
#include <bls/bls.h>
67
#include <bls/bls_batchverifier.h>
78
#include <clientversion.h>
@@ -671,7 +672,7 @@ BOOST_AUTO_TEST_CASE(bls_signature_array_serialization)
671672
std::array<uint8_t, BLS_CURVE_SIG_SIZE> sig_array = sig.ToBytes(false);
672673

673674
// Construct signature from array via Span
674-
CBLSSignature sig3(Span{sig_array}, false);
675+
CBLSSignature sig3(MakeUCharSpan(sig_array), false);
675676
BOOST_CHECK(sig == sig3);
676677
}
677678

0 commit comments

Comments
 (0)