Cosmetic, rename a few protobuf fields.

This commit is contained in:
Arthur Britto
2012-06-28 01:01:44 -07:00
parent 9f2c4b163f
commit 029bcfa6d9
4 changed files with 13 additions and 13 deletions

View File

@@ -481,7 +481,7 @@ void NetworkOPs::switchLastClosedLedger(Ledger::pointer newLedger)
s.set_ledgerseq(newLedger->getLedgerSeq());
s.set_networktime(theApp->getOPs().getNetworkTimeNC());
uint256 hash = newLedger->getParentHash();
s.set_previousledgerhash(hash.begin(), hash.size());
s.set_ledgerhashprevious(hash.begin(), hash.size());
hash = newLedger->getHash();
s.set_ledgerhash(hash.begin(), hash.size());
PackedMessage::pointer packet = boost::make_shared<PackedMessage>(s, newcoin::mtSTATUS_CHANGE);