Fix compiler warning.

This commit is contained in:
Arthur Britto
2012-11-20 13:14:45 -08:00
parent 3cb3b41cef
commit 97c577e5b2

View File

@@ -35,14 +35,11 @@ Transactor::pointer Transactor::makeTransactor(const SerializedTransaction& txn,
}
Transactor::Transactor(const SerializedTransaction& txn,TransactionEngineParams params, TransactionEngine* engine) : mTxn(txn), mParams(params), mEngine(engine)
Transactor::Transactor(const SerializedTransaction& txn,TransactionEngineParams params, TransactionEngine* engine) : mTxn(txn), mEngine(engine), mParams(params)
{
mHasAuthKey=false;
}
void Transactor::calculateFee()
{
mFeeDue = theConfig.FEE_DEFAULT;
@@ -78,7 +75,6 @@ TER Transactor::payFee()
mTxnAccount->setFieldAmount(sfBalance, mSourceBalance);
return tesSUCCESS;
}
@@ -137,7 +133,6 @@ TER Transactor::checkSeq()
cLog(lsWARNING) << "applyTransaction: past sequence number";
return tefPAST_SEQ;
}else
{
mTxnAccount->setFieldU32(sfSequence, t_seq + 1);
@@ -216,5 +211,6 @@ TER Transactor::apply()
mEngine->entryModify(mTxnAccount);
return doApply();
}
// vim:ts=4