aboutsummaryrefslogtreecommitdiff
path: root/src/bech32.h
diff options
context:
space:
mode:
authorSamuel Dobson <dobsonsa68@gmail.com>2021-12-04 12:49:27 +1300
committerSamuel Dobson <dobsonsa68@gmail.com>2021-12-06 14:17:41 +1300
commita4fe70171b6fa570eda71d86b59d0fb24c2f0614 (patch)
treef2039c5b04f96fe6a4b347a2dd8ee034198b0677 /src/bech32.h
parent2fa4fd196176160a5ad0a25da173ff93252b8103 (diff)
Make Bech32 LocateErrors return error list rather than using out-arg
Diffstat (limited to 'src/bech32.h')
-rw-r--r--src/bech32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bech32.h b/src/bech32.h
index 7e92d5d23a..5e89e6efda 100644
--- a/src/bech32.h
+++ b/src/bech32.h
@@ -46,7 +46,7 @@ struct DecodeResult
DecodeResult Decode(const std::string& str);
/** Return the positions of errors in a Bech32 string. */
-std::string LocateErrors(const std::string& str, std::vector<int>& error_locations);
+std::pair<std::string, std::vector<int>> LocateErrors(const std::string& str);
} // namespace bech32