Enable DestinationTag features.

This commit is contained in:
Arthur Britto
2013-01-04 11:57:05 -08:00
parent 3dfb1ca1eb
commit 2746806cd3
8 changed files with 0 additions and 24 deletions

View File

@@ -8,21 +8,16 @@ TER AccountSetTransactor::doApply()
const uint32 uTxFlags = mTxn.getFlags();
#if ENABLE_REQUIRE_DEST_TAG
const uint32 uFlagsIn = mTxnAccount->getFieldU32(sfFlags);
uint32 uFlagsOut = uFlagsIn;
if (uTxFlags & tfAccountSetMask)
#else
if (uTxFlags)
#endif
{
cLog(lsINFO) << "AccountSet: Malformed transaction: Invalid flags set.";
return temINVALID_FLAG;
}
#if ENABLE_REQUIRE_DEST_TAG
//
// RequireDestTag
//
@@ -50,7 +45,6 @@ TER AccountSetTransactor::doApply()
if (uFlagsIn != uFlagsOut)
mTxnAccount->setFieldU32(sfFlags, uFlagsOut);
#endif
//
// EmailHash