mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
fix and simplify hook-state
This commit is contained in:
@@ -67,8 +67,6 @@ LedgerFormats::LedgerFormats()
|
||||
{sfTakerGetsCurrency, soeOPTIONAL}, // for order book directories
|
||||
{sfTakerGetsIssuer, soeOPTIONAL}, // for order book directories
|
||||
{sfExchangeRate, soeOPTIONAL}, // for order book directories
|
||||
{sfHookNamespace, soeOPTIONAL}, // for hook state directories
|
||||
{sfOwnerNode, soeOPTIONAL}, // for hook state directories
|
||||
{sfReferenceCount, soeOPTIONAL}, // for hook state directories
|
||||
{sfIndexes, soeREQUIRED},
|
||||
{sfRootIndex, soeREQUIRED},
|
||||
@@ -210,11 +208,9 @@ LedgerFormats::LedgerFormats()
|
||||
add(jss::HookState,
|
||||
ltHOOK_STATE,
|
||||
{
|
||||
{sfAccount, soeOPTIONAL}, //RH TODO: this can be removed for production
|
||||
{sfOwnerNode, soeREQUIRED},
|
||||
{sfHookStateKey, soeREQUIRED},
|
||||
{sfHookStateData, soeREQUIRED},
|
||||
{sfHookNamespace, soeOPTIONAL} // as can this
|
||||
},
|
||||
commonFields);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user