diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-10-12 11:11:48 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-10-12 11:14:32 +0200 |
commit | faa90f6e7b6b8c531e1ae142a5c2f568b48502a9 (patch) | |
tree | 2464dfbc7e96c4c5b223f04c5e65aedb1a30ea98 /src/node | |
parent | 4a5aae9330780c3740e27cc511f7cba1fab745b9 (diff) | |
download | bitcoin-faa90f6e7b6b8c531e1ae142a5c2f568b48502a9.tar.xz |
refactor: Remove unused nchaintx from SnapshotMetadata constructor
Also, remove wrong nChainTx comment and cast.
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/utxo_snapshot.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/utxo_snapshot.h b/src/node/utxo_snapshot.h index a6dd3f3f13..1160bb55f0 100644 --- a/src/node/utxo_snapshot.h +++ b/src/node/utxo_snapshot.h @@ -35,8 +35,7 @@ public: SnapshotMetadata() { } SnapshotMetadata( const uint256& base_blockhash, - uint64_t coins_count, - unsigned int nchaintx) : + uint64_t coins_count) : m_base_blockhash(base_blockhash), m_coins_count(coins_count) { } |