apache / incubator-milagro-dta

Apache Milagro Decentralized Trust Authority
https://milagro.apache.org/
Apache License 2.0
11 stars 8 forks source link

Add order/secret request validation #18

Closed fluidjax closed 5 years ago

fluidjax commented 5 years ago

Add validation to trap /order & /order/secret beneficiary inconsistencies. 1) Create error when beneficiaries are not specified at all 2) Create error when Beneficiaries specified in both, and different 3) Ignore Beneficiary in /order/secret when the beneficiary has already been specified in /order.