From 952b0d5ec545307ed6b55f2d5b35cc3d11d2f0fd Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 26 Jul 2012 04:10:01 -0700 Subject: [PATCH] Small cleanup. --- src/TransactionEngine.cpp | 2 +- src/TransactionEngine.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TransactionEngine.cpp b/src/TransactionEngine.cpp index ee25d91d0b..3fce70bdd7 100644 --- a/src/TransactionEngine.cpp +++ b/src/TransactionEngine.cpp @@ -785,7 +785,7 @@ void TransactionEngine::txnWrite() // This is for when a transaction fails from the issuer's point of view and the current changes need to be cleared so other // actions can be applied to the ledger. -void TransactionEngine::entryReset(const SerializedTransaction& txn) +void TransactionEngine::entryReset() { mNodes.setTo(mOrigNodes); } diff --git a/src/TransactionEngine.h b/src/TransactionEngine.h index 509e52c6fd..f06038f576 100644 --- a/src/TransactionEngine.h +++ b/src/TransactionEngine.h @@ -188,7 +188,7 @@ protected: void entryDelete(SLE::pointer sleEntry); void entryModify(SLE::pointer sleEntry); - void entryReset(const SerializedTransaction& txn); + void entryReset(); STAmount rippleHolds(const uint160& uAccountID, const uint160& uCurrency, const uint160& uIssuerID); STAmount rippleTransit(const uint160& uSenderID, const uint160& uReceiverID, const uint160& uIssuerID, const STAmount& saAmount);