diff --git a/dependencies/bitcoin b/dependencies/bitcoin index 2c79abc..27a770b 160000 --- a/dependencies/bitcoin +++ b/dependencies/bitcoin @@ -1 +1 @@ -Subproject commit 2c79abc7ad4850e9e3ba32a04c530155cda7f980 +Subproject commit 27a770b34b8f1dbb84760f442edb3e23a0c2420b diff --git a/targets/headerandshortids.cpp b/targets/headerandshortids.cpp index e1ccf7e..1c2ee89 100644 --- a/targets/headerandshortids.cpp +++ b/targets/headerandshortids.cpp @@ -16,7 +16,7 @@ int HeaderAndShortIdsCore(Span 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)