We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee42c15 commit 990e239Copy full SHA for 990e239
src/test/bls_tests.cpp
@@ -2,6 +2,7 @@
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
+#include "span.h"
6
#include <bls/bls.h>
7
#include <bls/bls_batchverifier.h>
8
#include <clientversion.h>
@@ -671,7 +672,7 @@ BOOST_AUTO_TEST_CASE(bls_signature_array_serialization)
671
672
std::array<uint8_t, BLS_CURVE_SIG_SIZE> sig_array = sig.ToBytes(false);
673
674
// Construct signature from array via Span
- CBLSSignature sig3(Span{sig_array}, false);
675
+ CBLSSignature sig3(MakeUCharSpan(sig_array), false);
676
BOOST_CHECK(sig == sig3);
677
}
678
0 commit comments