aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-10-18 09:37:40 -0400
committerJohn Newbery <john@johnnewbery.com>2019-10-18 09:43:01 -0400
commit9e95931865186d7a9a6dc54b64bd96507e9fea4b (patch)
treec6cf3fe27d4cdd98a358592fb880703605a87cf7 /src/wallet/wallet.h
parentd1734f9a3b138ab046f38ee44a09bc3847bf938a (diff)
downloadbitcoin-9e95931865186d7a9a6dc54b64bd96507e9fea4b.tar.xz
[wallet] Remove `state` argument from CWallet::CommitTransaction
The `state` return argument has not been set since commit 611291c198. Remove it (and the one place that it's used in a calling function).
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 8113e60aa6..c7834a5d02 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -1155,9 +1155,8 @@ public:
* @param tx[in] The transaction to be broadcast.
* @param mapValue[in] key-values to be set on the transaction.
* @param orderForm[in] BIP 70 / BIP 21 order form details to be set on the transaction.
- * @param state[in,out] CValidationState object returning information about whether the transaction was accepted
*/
- void CommitTransaction(CTransactionRef tx, mapValue_t mapValue, std::vector<std::pair<std::string, std::string>> orderForm, CValidationState& state);
+ void CommitTransaction(CTransactionRef tx, mapValue_t mapValue, std::vector<std::pair<std::string, std::string>> orderForm);
bool DummySignTx(CMutableTransaction &txNew, const std::set<CTxOut> &txouts, bool use_max_sig = false) const
{