diff options
author | Pieter Wuille <pieter@wuille.net> | 2023-08-31 10:00:05 -0400 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2023-09-07 08:53:45 -0400 |
commit | dc2d7eb810ef95b06620f334c198687579916435 (patch) | |
tree | 785006d10a3cde8d9663ac7d2a11272b01893f44 /src/pubkey.h | |
parent | 5f4b2c6d79e81ee0445752ad558fcc17831f4b2f (diff) |
crypto: Spanify EllSwiftPubKey constructor
Diffstat (limited to 'src/pubkey.h')
-rw-r--r-- | src/pubkey.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pubkey.h b/src/pubkey.h index 00defa25a0..274779f9a4 100644 --- a/src/pubkey.h +++ b/src/pubkey.h @@ -303,8 +303,7 @@ public: EllSwiftPubKey() noexcept = default; /** Construct a new ellswift public key from a given serialization. */ - EllSwiftPubKey(const std::array<std::byte, SIZE>& ellswift) : - m_pubkey(ellswift) {} + EllSwiftPubKey(Span<const std::byte> ellswift) noexcept; /** Decode to normal compressed CPubKey (for debugging purposes). */ CPubKey Decode() const; |