diff options
author | Michael Dietz <michael.dietz@waya.ai> | 2021-09-29 09:58:36 -0500 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-03-30 20:00:27 +0100 |
commit | 22f25a61168f261dff06fb66737be55eab290c5b (patch) | |
tree | b82acfcc3cefbef077aaf31376c78c3165f83252 /src/core_io.h | |
parent | 828a094ecfbf93ad9e4bb83b85a519f7416ff3fb (diff) | |
download | bitcoin-22f25a61168f261dff06fb66737be55eab290c5b.tar.xz |
refactor: prefer snake case, TxToUniv arg hashBlock renamed block_hash
Diffstat (limited to 'src/core_io.h')
-rw-r--r-- | src/core_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_io.h b/src/core_io.h index 9bdbd7c17f..aa1381c374 100644 --- a/src/core_io.h +++ b/src/core_io.h @@ -54,6 +54,6 @@ std::string FormatScript(const CScript& script); std::string EncodeHexTx(const CTransaction& tx, const int serializeFlags = 0); std::string SighashToStr(unsigned char sighash_type); void ScriptToUniv(const CScript& script, UniValue& out, bool include_hex = true, bool include_address = false); -void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry, bool include_hex = true, int serialize_flags = 0, const CTxUndo* txundo = nullptr, TxVerbosity verbosity = TxVerbosity::SHOW_DETAILS); +void TxToUniv(const CTransaction& tx, const uint256& block_hash, UniValue& entry, bool include_hex = true, int serialize_flags = 0, const CTxUndo* txundo = nullptr, TxVerbosity verbosity = TxVerbosity::SHOW_DETAILS); #endif // BITCOIN_CORE_IO_H |