Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
serialize the feepool and inflationseq
Browse files Browse the repository at this point in the history
  • Loading branch information
jed committed Jul 1, 2014
1 parent 6c9be6c commit 52fda30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ripple_app/ledger/Ledger.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ void Ledger::setRaw (Serializer& s, bool hasPrefix)


mLedgerSeq = sit.get32 (); mLedgerSeq = sit.get32 ();
mTotCoins = sit.get64 (); mTotCoins = sit.get64 ();
mFeePool = sit.get64();
mInflationSeq = sit.get32();
mParentHash = sit.get256 (); mParentHash = sit.get256 ();
mTransHash = sit.get256 (); mTransHash = sit.get256 ();
mAccountHash = sit.get256 (); mAccountHash = sit.get256 ();
Expand All @@ -300,6 +302,8 @@ void Ledger::addRaw (Serializer& s) const
{ {
s.add32 (mLedgerSeq); s.add32 (mLedgerSeq);
s.add64 (mTotCoins); s.add64 (mTotCoins);
s.add64(mFeePool);
s.add32(mInflationSeq);
s.add256 (mParentHash); s.add256 (mParentHash);
s.add256 (mTransHash); s.add256 (mTransHash);
s.add256 (mAccountHash); s.add256 (mAccountHash);
Expand Down

0 comments on commit 52fda30

Please sign in to comment.