mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Enable DestinationTag features.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user