Skip to content

Do not allow multiple inputs in LedgerEntry API #5636

@godexsoft

Description

@godexsoft

Issue Description

See XRPLF/clio#1836
This is potentially confusing and/or error prone. It would be better to raise an error in this case.

Steps to Reproduce

Send any two or more optional fields and only first one will be used.

Expected Result

Some sort of error should be raised

Actual Result

The first field gets used and others are ignored

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions