diff options
| author | Andrew Chow <[email protected]> | 2019-08-02 18:04:02 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2019-08-16 19:34:01 -0400 |
| commit | c325f619dd071b5489989f645e42cace8eb23fb4 (patch) | |
| tree | 25177eef2a597ec4bdfff5abe7782c10be5daf2f /src/script/descriptor.h | |
| parent | Merge #15986: Add checksum to getdescriptorinfo (diff) | |
| download | discoin-c325f619dd071b5489989f645e42cace8eb23fb4.tar.xz discoin-c325f619dd071b5489989f645e42cace8eb23fb4.zip | |
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 eae1e262c..0195ca093 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. * |