Browse Source

Test

pull/4/head
jl777 7 years ago
parent
commit
e251f1edcd
  1. 1
      src/rpcrawtransaction.cpp

1
src/rpcrawtransaction.cpp

@ -137,6 +137,7 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry)
BlockMap::iterator it = mapBlockIndex.find(pcoinsTip->GetBestBlock());
CBlockIndex *tipindex,*pindex = it->second;
uint64_t interest;
UniValue vout(UniValue::VARR);
for (unsigned int i = 0; i < tx.vout.size(); i++) {
const CTxOut& txout = tx.vout[i];
UniValue out(UniValue::VOBJ);

Loading…
Cancel
Save