aboutsummaryrefslogtreecommitdiff
path: root/src/script/descriptor.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-08-02 18:04:02 -0400
committerAndrew Chow <achow101-github@achow101.com>2019-08-16 19:34:01 -0400
commitc325f619dd071b5489989f645e42cace8eb23fb4 (patch)
tree25177eef2a597ec4bdfff5abe7782c10be5daf2f /src/script/descriptor.h
parent7a960ba775a60ebcc2e830356693e3ed702b22f1 (diff)
downloadbitcoin-c325f619dd071b5489989f645e42cace8eb23fb4.tar.xz
Return an error from descriptor Parse that gives more information about what failed
Diffstat (limited to 'src/script/descriptor.h')
-rw-r--r--src/script/descriptor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/descriptor.h b/src/script/descriptor.h
index eae1e262cd..0195ca0939 100644
--- a/src/script/descriptor.h
+++ b/src/script/descriptor.h
@@ -79,7 +79,7 @@ struct Descriptor {
* If a parse error occurs, or the checksum is missing/invalid, or anything
* else is wrong, nullptr is returned.
*/
-std::unique_ptr<Descriptor> Parse(const std::string& descriptor, FlatSigningProvider& out, bool require_checksum = false);
+std::unique_ptr<Descriptor> Parse(const std::string& descriptor, FlatSigningProvider& out, std::string& error, bool require_checksum = false);
/** Get the checksum for a descriptor.
*