diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-08-02 18:04:02 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-08-16 19:34:01 -0400 |
commit | c325f619dd071b5489989f645e42cace8eb23fb4 (patch) | |
tree | 25177eef2a597ec4bdfff5abe7782c10be5daf2f /src/script/descriptor.h | |
parent | 7a960ba775a60ebcc2e830356693e3ed702b22f1 (diff) |
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.h | 2 |
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. * |