mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-27 22:34:18 +02:00
rpc: Correct type for tx_sigops
Broken out from larger effort to make CAmount more type safe.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user