Cleanups. uint64_t -> uint64

This commit is contained in:
JoelKatz
2013-01-16 00:38:20 -08:00
parent 271bf901ec
commit 8136f98729
5 changed files with 7 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
SETUP_LOG();
uint64_t RegularKeySetTransactor::calculateBaseFee()
uint64 RegularKeySetTransactor::calculateBaseFee()
{
if ( !(mTxnAccount->getFlags() & lsfPasswordSpent)
&& (mSigningPubKey.getAccountID() == mTxnAccountID))

View File

@@ -2,7 +2,7 @@
class RegularKeySetTransactor : public Transactor
{
uint64_t calculateBaseFee();
uint64 calculateBaseFee();
public:
RegularKeySetTransactor(const SerializedTransaction& txn,TransactionEngineParams params, TransactionEngine* engine) : Transactor(txn,params,engine) {}
TER checkFee();

View File

@@ -45,7 +45,7 @@ void Transactor::calculateFee()
mFeeDue = STAmount(mEngine->getLedger()->scaleFeeLoad(calculateBaseFee()));
}
uint64_t Transactor::calculateBaseFee()
uint64 Transactor::calculateBaseFee()
{
return theConfig.FEE_DEFAULT;
}

View File

@@ -27,7 +27,7 @@ protected:
void calculateFee();
// Returns the fee, not scaled for load (Should be in fee units. FIXME)
virtual uint64_t calculateBaseFee();
virtual uint64 calculateBaseFee();
virtual TER checkSig();
virtual TER doApply()=0;

View File

@@ -73,7 +73,7 @@ public:
zero();
// Put in least significant bits.
((uint64_t *) end())[-1] = htobe64(uHost);
((uint64*) end())[-1] = htobe64(uHost);
return *this;
}
@@ -438,7 +438,7 @@ public:
zero();
// Put in least significant bits.
((uint64_t *) end())[-1] = htobe64(uHost);
((uint64*) end())[-1] = htobe64(uHost);
return *this;
}
@@ -656,7 +656,7 @@ public:
zero();
// Put in least significant bits.
((uint64_t *) end())[-1] = htobe64(uHost);
((uint64*) end())[-1] = htobe64(uHost);
return *this;
}