Skip to content

Commit 6a38d7e

Browse files
committed
Fix parameter name.
1 parent d3cc7d7 commit 6a38d7e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/bitcoin/system/wallet/neutrino_filter.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct BC_API block_filter
4242
bool BC_API compute_filter(data_chunk& out,
4343
const chain::block& block) NOEXCEPT;
4444

45-
hash_digest BC_API compute_filter_header(const hash_digest& previous_block,
45+
hash_digest BC_API compute_filter_header(const hash_digest& previous_header,
4646
const data_chunk& filter) NOEXCEPT;
4747

4848
bool BC_API match_filter(const block_filter& filter,

src/wallet/neutrino_filter.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ bool compute_filter(data_chunk& out, const chain::block& block) NOEXCEPT
8989
return true;
9090
}
9191

92-
hash_digest compute_filter_header(const hash_digest& previous_block_hash,
92+
hash_digest compute_filter_header(const hash_digest& previous_header,
9393
const data_chunk& filter) NOEXCEPT
9494
{
95-
return bitcoin_hash(splice(bitcoin_hash(filter), previous_block_hash));
95+
return bitcoin_hash(splice(bitcoin_hash(filter), previous_header));
9696
}
9797

9898
bool match_filter(const block_filter& filter,

0 commit comments

Comments
 (0)