mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
Tidy up amendment feature macro
This commit is contained in:
@@ -280,15 +280,16 @@ public:
|
||||
if (it.second != 0)
|
||||
trans.setFieldU32 (sfFlags, it.second);
|
||||
|
||||
uint256 txID = trans.getTransactionID();
|
||||
|
||||
Serializer s;
|
||||
trans.add (s);
|
||||
|
||||
#if RIPPLE_PROPOSE_AMENDMENTS
|
||||
#if ! RIPPLE_PROPOSE_AMENDMENTS
|
||||
return;
|
||||
#endif
|
||||
|
||||
uint256 txID = trans.getTransactionID();
|
||||
auto tItem = std::make_shared <SHAMapItem> (txID, s.peekData());
|
||||
initialPosition->addGiveItem (tItem, true, false);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user