Skip to content

Commit

Permalink
Merge pull request #62 from hax0kartik/update-bitcoin
Browse files Browse the repository at this point in the history
Update bitcoin dependency
  • Loading branch information
brunoerg authored Aug 22, 2024
2 parents 957dc63 + 4997edc commit 25a0e33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependencies/bitcoin
Submodule bitcoin updated 792 files
2 changes: 1 addition & 1 deletion targets/headerandshortids.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ int HeaderAndShortIdsCore(Span<const uint8_t> buffer)
try {
ds >> TX_WITH_WITNESS(block);
if (block.vtx.size() < 1) return res;
CBlockHeaderAndShortTxIDs block_header_and_short_txids {block}; // use the value of 101 as nonce
CBlockHeaderAndShortTxIDs block_header_and_short_txids {block, 101}; // use the value of 101 as nonce
res = block_header_and_short_txids.BlockTxCount();
} catch (const std::ios_base::failure& e) {
if (std::string(e.what()).find("Superfluous witness record") != std::string::npos)
Expand Down

0 comments on commit 25a0e33

Please sign in to comment.