Skip to content

Commit

Permalink
APIv2(account_info): handle invalid "signer_lists" value (XRPLF#4585)
Browse files Browse the repository at this point in the history
When requesting `account_info` with an invalid `signer_lists` value, the
API should return an "invalidParams" error.

`signer_lists` should have a value of type boolean. If it is not a
boolean, then it is invalid input. The response now indicates that.

* This is an API breaking change, so the change is only reflected for
  requests containing `"api_version": 2`
* Fix XRPLF#4539
  • Loading branch information
PeterChen13579 authored and ckeshava committed Sep 25, 2023
1 parent 5089fe4 commit 38ddf41
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/ripple/rpc/handlers/AccountInfo.cpp
11 changes: 11 additions & 0 deletions src/test/rpc/AccountInfo_test.cpp

0 comments on commit 38ddf41

Please sign in to comment.