rpc: Correct type for tx_sigops

Broken out from larger effort to make CAmount more type safe.
This commit is contained in:
Hodlinator
2026-03-31 11:19:54 +02:00
parent 44ac0c32b9
commit a815e3e262

View File

@@ -897,7 +897,7 @@ static RPCMethod getblocktemplate()
UniValue transactions(UniValue::VARR);
std::map<Txid, int64_t> setTxIndex;
std::vector<CAmount> tx_fees{block_template->getTxFees()};
std::vector<CAmount> tx_sigops{block_template->getTxSigops()};
std::vector<int64_t> tx_sigops{block_template->getTxSigops()};
int i = 0;
for (const auto& it : block.vtx) {