diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-02-14 10:01:06 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-02-14 10:32:02 -0500 |
commit | fa9b60c842741dc92a33925fca5796ebaa4510bd (patch) | |
tree | a918c59fb07a53c5af68f72430f751b2cb642da9 /src/wallet/psbtwallet.h | |
parent | 38989ab03fb74ad56c1018c37cb24d17cbb3a16f (diff) |
Remove unused TransactionError constants
Diffstat (limited to 'src/wallet/psbtwallet.h')
-rw-r--r-- | src/wallet/psbtwallet.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/wallet/psbtwallet.h b/src/wallet/psbtwallet.h index b679f5c6ba..a24a0967d2 100644 --- a/src/wallet/psbtwallet.h +++ b/src/wallet/psbtwallet.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -18,16 +18,14 @@ * * @param[in] pwallet pointer to a wallet * @param[in] &psbtx reference to PartiallySignedTransaction to fill in - * @param[out] &error reference to UniValue to fill with error info on failure * @param[out] &complete indicates whether the PSBT is now complete * @param[in] sighash_type the sighash type to use when signing (if PSBT does not specify) * @param[in] sign whether to sign or not * @param[in] bip32derivs whether to fill in bip32 derivation information if available - * return true on success, false on error (and fills in `error`) + * return error */ -bool FillPSBT(const CWallet* pwallet, +NODISCARD TransactionError FillPSBT(const CWallet* pwallet, PartiallySignedTransaction& psbtx, - TransactionError& error, bool& complete, int sighash_type = 1 /* SIGHASH_ALL */, bool sign = true, |