doc: Fix doxygen comment for SignTransaction in rpc/rawtransaction_util

This commit is contained in:
MarcoFalke 2019-09-17 15:02:43 -04:00
parent 99beda47f5
commit fa8d65f071
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
2 changed files with 3 additions and 3 deletions

View file

@ -268,7 +268,7 @@ void ParsePrevouts(const UniValue& prevTxsUnival, FillableSigningProvider* keyst
} }
} }
UniValue SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore, std::map<COutPoint, Coin>& coins, const UniValue& hashType) UniValue SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore, const std::map<COutPoint, Coin>& coins, const UniValue& hashType)
{ {
int nHashType = ParseSighashString(hashType); int nHashType = ParseSighashString(hashType);

View file

@ -19,11 +19,11 @@ class SigningProvider;
* *
* @param mtx The transaction to-be-signed * @param mtx The transaction to-be-signed
* @param keystore Temporary keystore containing signing keys * @param keystore Temporary keystore containing signing keys
* @param coins Map of unspent outputs - coins in mempool and current chain UTXO set, may be extended by previous txns outputs after call * @param coins Map of unspent outputs
* @param hashType The signature hash type * @param hashType The signature hash type
* @returns JSON object with details of signed transaction * @returns JSON object with details of signed transaction
*/ */
UniValue SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore, std::map<COutPoint, Coin>& coins, const UniValue& hashType); UniValue SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore, const std::map<COutPoint, Coin>& coins, const UniValue& hashType);
/** /**
* Parse a prevtxs UniValue array and get the map of coins from it * Parse a prevtxs UniValue array and get the map of coins from it