diff --git a/src/rpc/rawtransaction_util.h b/src/rpc/rawtransaction_util.h index 75727d2148..eca2c47697 100644 --- a/src/rpc/rawtransaction_util.h +++ b/src/rpc/rawtransaction_util.h @@ -1,29 +1,29 @@ // Copyright (c) 2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_RPC_RAWTRANSACTION_UTIL_H #define BITCOIN_RPC_RAWTRANSACTION_UTIL_H class CBasicKeyStore; class CChainParams; class UniValue; -struct CMutableTransaction; +class CMutableTransaction; namespace interfaces { class Chain; } // namespace interfaces /** Sign a transaction with the given keystore and previous transactions */ UniValue SignTransaction(interfaces::Chain &chain, CMutableTransaction &mtx, const UniValue &prevTxs, CBasicKeyStore *keystore, bool tempKeystore, const UniValue &hashType); /** Create a transaction from univalue parameters */ CMutableTransaction ConstructTransaction(const CChainParams ¶ms, const UniValue &inputs_in, const UniValue &outputs_in, const UniValue &locktime); #endif // BITCOIN_RPC_RAWTRANSACTION_UTIL_H