aboutsummaryrefslogtreecommitdiff
path: root/src/key_io.h
diff options
context:
space:
mode:
authorSamuel Dobson <dobsonsa68@gmail.com>2021-10-01 12:16:20 +1300
committerSamuel Dobson <dobsonsa68@gmail.com>2021-10-12 12:03:14 +1300
commitb62b67e06cc406fdad68da4c091168fb5f11c1d4 (patch)
tree1c70b946c4c6c2003dc0186773bb4949e5fa0f8c /src/key_io.h
parent0b06e720c0182dee8b560d2e8d3891b036f63ea7 (diff)
Add Bech32 error location function
Diffstat (limited to 'src/key_io.h')
-rw-r--r--src/key_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key_io.h b/src/key_io.h
index bd81f7847e..2062bb4c44 100644
--- a/src/key_io.h
+++ b/src/key_io.h
@@ -23,7 +23,7 @@ std::string EncodeExtPubKey(const CExtPubKey& extpubkey);
std::string EncodeDestination(const CTxDestination& dest);
CTxDestination DecodeDestination(const std::string& str);
-CTxDestination DecodeDestination(const std::string& str, std::string& error_msg);
+CTxDestination DecodeDestination(const std::string& str, std::string& error_msg, std::vector<int>* error_locations = nullptr);
bool IsValidDestinationString(const std::string& str);
bool IsValidDestinationString(const std::string& str, const CChainParams& params);