mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
@@ -72,9 +72,7 @@ public:
|
||||
static auto const rpcSpec = RpcSpec{
|
||||
{JS(account), validation::Required{}, validation::AccountValidator},
|
||||
{JS(ledger_hash), validation::Uint256HexStringValidator},
|
||||
{JS(ledger_index), validation::LedgerIndexValidator},
|
||||
{JS(strict), meta::IfType<bool>{validation::NotSupported{false}}},
|
||||
};
|
||||
{JS(ledger_index), validation::LedgerIndexValidator}};
|
||||
|
||||
return rpcSpec;
|
||||
}
|
||||
|
||||
@@ -90,9 +90,7 @@ public:
|
||||
{JS(ident), validation::AccountValidator},
|
||||
{JS(ledger_hash), validation::Uint256HexStringValidator},
|
||||
{JS(ledger_index), validation::LedgerIndexValidator},
|
||||
{JS(signer_lists), validation::Type<bool>{}},
|
||||
{JS(strict), meta::IfType<bool>{validation::NotSupported{false}}},
|
||||
};
|
||||
{JS(signer_lists), validation::Type<bool>{}}};
|
||||
|
||||
return rpcSpec;
|
||||
}
|
||||
|
||||
@@ -84,9 +84,7 @@ public:
|
||||
{JS(ledger_hash), validation::Uint256HexStringValidator},
|
||||
{JS(ledger_index), validation::LedgerIndexValidator},
|
||||
{JS(marker), validation::AccountMarkerValidator},
|
||||
{JS(limit), validation::Type<uint32_t>{}, modifiers::Clamp<int32_t>{10, 400}},
|
||||
{JS(strict), meta::IfType<bool>{validation::NotSupported{false}}},
|
||||
};
|
||||
{JS(limit), validation::Type<uint32_t>{}, modifiers::Clamp<int32_t>{10, 400}}};
|
||||
|
||||
return rpcSpec;
|
||||
}
|
||||
|
||||
@@ -106,9 +106,7 @@ public:
|
||||
{JS(account), validation::Required{}, validation::AccountValidator},
|
||||
{JS(ledger_hash), validation::Uint256HexStringValidator},
|
||||
{JS(ledger_index), validation::LedgerIndexValidator},
|
||||
{JS(hotwallet), hotWalletValidator},
|
||||
{JS(strict), meta::IfType<bool>{validation::NotSupported{false}}},
|
||||
};
|
||||
{JS(hotwallet), hotWalletValidator}};
|
||||
|
||||
return rpcSpec;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user