diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-04-30 15:32:40 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-05-04 06:53:32 +0200 |
commit | fa05dddc42770809fdae4d9c35155f8117960019 (patch) | |
tree | daaf2d3f9598f89b8c3a8230c765f7a4df1cd9d0 /src/pubkey.h | |
parent | fabb6dfe6e734eadd91448122f2ce8c1612c39a6 (diff) |
refactor: Use CPubKey vector constructor where possible
Diffstat (limited to 'src/pubkey.h')
-rw-r--r-- | src/pubkey.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pubkey.h b/src/pubkey.h index 12514fc3c9..066d2d5d48 100644 --- a/src/pubkey.h +++ b/src/pubkey.h @@ -101,7 +101,7 @@ public: } //! Construct a public key from a byte vector. - explicit CPubKey(const std::vector<unsigned char>& _vch) + explicit CPubKey(Span<const uint8_t> _vch) { Set(_vch.begin(), _vch.end()); } |