Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] wallet-rpc exchange multisig_keys input #2172

Open
creating2morrow opened this issue May 29, 2023 · 0 comments
Open

[bug] wallet-rpc exchange multisig_keys input #2172

creating2morrow opened this issue May 29, 2023 · 0 comments

Comments

@creating2morrow
Copy link

In the wallet rpc docs the input multisig_info is shown to be a string but it should be a json array

actual:

  • multisig_info - string;
curl http://localhost:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"exchange_multisig_keys","params":{"password":"","multisig_info":"MultisigxV2R1hSyd7Zdx5A92zWF7E9487XQg8zZRDYM6c9aNfEShmCKoUx9ftccXZvH9cRcadd5veh6mwk9sXuGzWZRo57MdvSkJi3ABLt8wZPv8FTkBqVDVcgUdXm4tS81HdJ5WQXboQJJQQd5JKoySKJ4S9xHGojL2i3VUvbWAyduaWGjMK4hrLQA1"}}' -H 'Content-Type: application/json'

expected:

  • multisig_info - array of string;
curl http://localhost:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"exchange_multisig_keys","params":{"password":"","multisig_info":["MultisigxV2R1hSyd7Zdx5A92zWF7E9487XQg8zZRDYM6c9aNfEShmCKoUx9ftccXZvH9cRcadd5veh6mwk9sXuGzWZRo57MdvSkJi3ABLt8wZPv8FTkBqVDVcgUdXm4tS81HdJ5WQXboQJJQQd5JKoySKJ4S9xHGojL2i3VUvbWAyduaWGjMK4hrLQA1"]}}' -H 'Content-Type: application/json'

Docs
https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#exchange_multisig_keys

monero source:
https://github.com/monero-project/monero/blob/master/src/wallet/wallet_rpc_server_commands_defs.h#L2537

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant