aboutsummaryrefslogtreecommitdiff
path: root/src/script/descriptor.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2020-06-24 17:26:47 +0200
committerWladimir J. van der Laan <[email protected]>2020-08-06 19:41:43 +0200
commit0a8aa626dd69a357e1b798b07b64cf4177a464a3 (patch)
tree44736ce734e8b6b2259becff3962ee3290f7969d /src/script/descriptor.cpp
parentMerge #19326: Simplify hash.h interface using Spans (diff)
downloaddiscoin-0a8aa626dd69a357e1b798b07b64cf4177a464a3.tar.xz
discoin-0a8aa626dd69a357e1b798b07b64cf4177a464a3.zip
refactor: Make HexStr take a span
Make HexStr take a span of bytes, instead of an awkward pair of templated iterators.
Diffstat (limited to 'src/script/descriptor.cpp')
-rw-r--r--src/script/descriptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp
index 9978d084d..6c0a98cca 100644
--- a/src/script/descriptor.cpp
+++ b/src/script/descriptor.cpp
@@ -190,7 +190,7 @@ class OriginPubkeyProvider final : public PubkeyProvider
std::string OriginString() const
{
- return HexStr(std::begin(m_origin.fingerprint), std::end(m_origin.fingerprint)) + FormatHDKeypath(m_origin.path);
+ return HexStr(m_origin.fingerprint) + FormatHDKeypath(m_origin.path);
}
public: