Skip to content

some RPC functions cannot manage hexadecimal inputs and outputs well #14

@dog-2

Description

@dog-2

the test code is:
image

and the output is:
image

In line 101 and 102, hexadecimal values are delivered, but i didn't found that the input must be proc by the lx() function until i cost some time to debug it.

Undet shell, the input bellow runs well:

$ bitcoin-cli.exe -datadir="D:\Program Files\BitcoinData" getrawtransaction 330b926aaced01d1121e4f833c435b8a40a7e1da4df48a3adb55403aa941a264 1

Why not make these functions call just like offical RPCs?

And the value of the key 'blockhash' in the output dict is not well presented, it should looks like "00000000000000001a93726f7f90f9ba1de8c5a569d69f0a33c7b8d7e296f78b"
according to the official RPC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions