Browse Source

Test

pull/4/head
jl777 6 years ago
parent
commit
98d1a795df
  1. 2
      src/rpcblockchain.cpp

2
src/rpcblockchain.cpp

@ -216,7 +216,7 @@ UniValue blockToDeltasJSON(const CBlock& block, const CBlockIndex* blockindex)
{
//vector<unsigned char> hashBytes(out.scriptPubKey.begin()+1, out.scriptPubKey.begin()+34);
//xxx delta.push_back(Pair("address", CBitcoinAddress(CKeyID(uint160(hashBytes))).ToString()));
delta.push_back(Pair("address", address.ToString()));
delta.push_back(Pair("address", CBitcoinAddress(address).ToString()));
}
}
else {

Loading…
Cancel
Save