-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Bugfix: z_importviewingkey RPC call missing startHeight #2937
Comments
Also the returned help text which prints correct usage example with zcash-cli does not have the third parameter in the example usage for JSON-RPC call with curl. |
I believe something like this would probably fix it
|
The previously mentioned patch is not sufficient. This is probably also needed:
|
By the way, if my identification of the problem was correct, there may be several more bugs regarding the number of accepted parameters in he structure defined in rpcclient.cpp. For example |
The entries in Your later diagnosis here looks like the actual bug. Thanks for catching this! |
Thanks for clarification. I still do not fully understand, why there are things like
then. But no need to explain this to me, just make sure you know it :) |
Fix z_importviewingkey startHeight parameter Closes #2937. Co-authored-by: Tomas M <tomas@slax.org>
Closes zcash#2937. # Conflicts: # src/wallet/rpcdump.cpp
If I call RPC command z_importviewingkey with one or two arguments, it works OK.
But if I call RPC with three arguments, adding startHeight, RPC returns with error (usage text).
So it seems to me RPC is not configured properly, it does not understand the third argument.
Using zcash 1.0.14
The text was updated successfully, but these errors were encountered: