getrawtransaction RPC takes verbose bool parameter as "1/0", instead of "true/false" #15

Closed
opened 2022-01-19 20:52:20 +01:00 by roylee17 · 1 comment
roylee17 commented 2022-01-19 20:52:20 +01:00 (Migrated from github.com)
$ lbcctl getrawtransaction 5dda81f42196d2647a173b008d729cf778d3f609adf84610837f039c2f8e88ba true

getrawtransaction command: parameter #2 'verbose' must parse to a int (code: ErrInvalidType)
Usage:
  getrawtransaction "txid" (verbose=0)
``` $ lbcctl getrawtransaction 5dda81f42196d2647a173b008d729cf778d3f609adf84610837f039c2f8e88ba true getrawtransaction command: parameter #2 'verbose' must parse to a int (code: ErrInvalidType) Usage: getrawtransaction "txid" (verbose=0) ```
roylee17 commented 2022-01-19 21:02:13 +01:00 (Migrated from github.com)

Note:

There are many other RPCs taking the bool as "1/0". We should update all of them to take "true/false" for consistency.

Note: There are many other RPCs taking the bool as "1/0". We should update all of them to take "true/false" for consistency.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbcd#15
No description provided.