diff options
author | Andrew Chow <achow101-github@achow101.com> | 2021-06-23 17:28:54 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2021-07-01 12:57:53 -0400 |
commit | 92993aa5cf37995e65e68dfd6f129ecaf418e01c (patch) | |
tree | 006dbee203ef5a34530fcecec66de68e087fe45e /src/script/sign.h | |
parent | 171366e89b828a557f8262d9dc14ff7a03f813f7 (diff) | |
download | bitcoin-92993aa5cf37995e65e68dfd6f129ecaf418e01c.tar.xz |
Change SignTransaction's input_errors to use bilingual_str
Diffstat (limited to 'src/script/sign.h')
-rw-r--r-- | src/script/sign.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/sign.h b/src/script/sign.h index b4e7318892..b8fcac2e3c 100644 --- a/src/script/sign.h +++ b/src/script/sign.h @@ -21,6 +21,7 @@ class CScript; class CTransaction; class SigningProvider; +struct bilingual_str; struct CMutableTransaction; /** Interface for signature creators. */ @@ -178,6 +179,6 @@ bool IsSolvable(const SigningProvider& provider, const CScript& script); bool IsSegWitOutput(const SigningProvider& provider, const CScript& script); /** Sign the CMutableTransaction */ -bool SignTransaction(CMutableTransaction& mtx, const SigningProvider* provider, const std::map<COutPoint, Coin>& coins, int sighash, std::map<int, std::string>& input_errors); +bool SignTransaction(CMutableTransaction& mtx, const SigningProvider* provider, const std::map<COutPoint, Coin>& coins, int sighash, std::map<int, bilingual_str>& input_errors); #endif // BITCOIN_SCRIPT_SIGN_H |