mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-22 12:45:52 +00:00
Use "invalidParam" when "book_offers" taker format is wrong (#734)
Fix #735
This commit is contained in:
@@ -255,8 +255,8 @@ generateParameterBookOffersTestBundles()
|
||||
},
|
||||
"taker": "123"
|
||||
})",
|
||||
"actMalformed",
|
||||
"takerMalformed"},
|
||||
"invalidParams",
|
||||
"Invalid field 'taker'"},
|
||||
ParameterTestBundle{
|
||||
"TakerNotString",
|
||||
R"({
|
||||
@@ -272,7 +272,7 @@ generateParameterBookOffersTestBundles()
|
||||
"taker": 123
|
||||
})",
|
||||
"invalidParams",
|
||||
"takerNotString"},
|
||||
"Invalid field 'taker'"},
|
||||
ParameterTestBundle{
|
||||
"LimitNotInt",
|
||||
R"({
|
||||
|
||||
Reference in New Issue
Block a user