added tx_history RPC

This commit is contained in:
jed
2012-10-21 19:21:08 -07:00
parent 51856f218f
commit 7fb75174fc
6 changed files with 78 additions and 2 deletions

View File

@@ -875,7 +875,7 @@ void Peer::recvGetObjectByHash(ripple::TMGetObjectByHash& packet)
reply.set_ledgerhash(packet.ledgerhash());
// This is a very minimal implementation
for (unsigned i = 0; i < packet.objects_size(); ++i)
for (int i = 0; i < packet.objects_size(); ++i)
{
uint256 hash;
const ripple::TMIndexedObject& obj = packet.objects(i);