Permalink
Browse files

serialize the feepool and inflationseq

  • Loading branch information...
jedmccaleb committed Jul 1, 2014
1 parent 6c9be6c commit 52fda30ff80e24b25e05024bf17a8066cb615de7
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/ripple_app/ledger/Ledger.cpp
@@ -278,6 +278,8 @@ void Ledger::setRaw (Serializer& s, bool hasPrefix)
mLedgerSeq = sit.get32 ();
mTotCoins = sit.get64 ();
mFeePool = sit.get64();
mInflationSeq = sit.get32();
mParentHash = sit.get256 ();
mTransHash = sit.get256 ();
mAccountHash = sit.get256 ();
@@ -300,6 +302,8 @@ void Ledger::addRaw (Serializer& s) const
{
s.add32 (mLedgerSeq);
s.add64 (mTotCoins);
s.add64(mFeePool);
s.add32(mInflationSeq);
s.add256 (mParentHash);
s.add256 (mTransHash);
s.add256 (mAccountHash);

0 comments on commit 52fda30

Please sign in to comment.