Use "invalidParam" when "book_offers" taker format is wrong (#734)

Fix #735
This commit is contained in:
cyan317
2023-07-05 17:25:17 +01:00
committed by GitHub
parent f4d8e18bf7
commit dcbc4577c2
2 changed files with 7 additions and 4 deletions

View File

@@ -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"({