mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
XRPLF review of XLS34 (#69)
* add amendment guard for sfTransferRate * make `sfTransferRate` optional * split tests into existing / xls34 * make variables `const` * clang-format * chage error code * guard optional `sfTransferRate` * rename tests * Guard Optional sfTransferRate * clang-format * fixup tests
This commit is contained in:
@@ -127,7 +127,7 @@ LedgerFormats::LedgerFormats()
|
||||
{sfAccount, soeREQUIRED},
|
||||
{sfDestination, soeREQUIRED},
|
||||
{sfAmount, soeREQUIRED},
|
||||
{sfTransferRate, soeREQUIRED},
|
||||
{sfTransferRate, soeOPTIONAL},
|
||||
{sfCondition, soeOPTIONAL},
|
||||
{sfCancelAfter, soeOPTIONAL},
|
||||
{sfFinishAfter, soeOPTIONAL},
|
||||
@@ -250,7 +250,7 @@ LedgerFormats::LedgerFormats()
|
||||
{sfBalance, soeREQUIRED},
|
||||
{sfPublicKey, soeREQUIRED},
|
||||
{sfSettleDelay, soeREQUIRED},
|
||||
{sfTransferRate, soeREQUIRED},
|
||||
{sfTransferRate, soeOPTIONAL},
|
||||
{sfExpiration, soeOPTIONAL},
|
||||
{sfCancelAfter, soeOPTIONAL},
|
||||
{sfSourceTag, soeOPTIONAL},
|
||||
|
||||
Reference in New Issue
Block a user