mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cosmetic changes.
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
#define __ACCOUNTSTATE__
|
#define __ACCOUNTSTATE__
|
||||||
|
|
||||||
// An account's state
|
// An account's state
|
||||||
// Used to track information about a local account
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans,
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
std::cerr << "Status other than success " << r << std::endl;
|
std::cerr << "Status other than success " << r << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
trans->setStatus(INVALID);
|
trans->setStatus(INVALID);
|
||||||
return trans;
|
return trans;
|
||||||
}
|
}
|
||||||
@@ -125,7 +125,7 @@ int NetworkOPs::findTransactionsBySource(std::list<Transaction::pointer>& txns,
|
|||||||
if (minSeq > state->getSeq()) return 0;
|
if (minSeq > state->getSeq()) return 0;
|
||||||
if (maxSeq > state->getSeq()) maxSeq = state->getSeq();
|
if (maxSeq > state->getSeq()) maxSeq = state->getSeq();
|
||||||
if (maxSeq > minSeq) return 0;
|
if (maxSeq > minSeq) return 0;
|
||||||
|
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for(int i = minSeq; i <= maxSeq; ++i)
|
for(int i = minSeq; i <= maxSeq; ++i)
|
||||||
{
|
{
|
||||||
@@ -434,3 +434,4 @@ bool NetworkOPs::hasTXSet(boost::shared_ptr<Peer> peer, const std::vector<uint25
|
|||||||
if (!mConsensus) return false;
|
if (!mConsensus) return false;
|
||||||
return mConsensus->peerHasSet(peer, sets);
|
return mConsensus->peerHasSet(peer, sets);
|
||||||
}
|
}
|
||||||
|
// vim:ts=4
|
||||||
|
|||||||
@@ -84,5 +84,7 @@ public:
|
|||||||
void makeIFieldAbsent(SOE_Field field) { return mObject.makeFieldAbsent(field); }
|
void makeIFieldAbsent(SOE_Field field) { return mObject.makeFieldAbsent(field); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef SerializedLedgerEntry SLE;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// vim:ts=4
|
// vim:ts=4
|
||||||
|
|||||||
Reference in New Issue
Block a user